import ChevronRightIcon from '@mui/icons-material/ChevronRight';
import { List, ListItemButton, Menu, MenuItem } from '@mui/material';
import PopupState, { bindMenu, bindTrigger } from 'material-ui-popup-state';
import { useTranslation } from 'react-i18next';
import { ListItem, ListItemText } from '@/components/ListItem';
import { getOpenAtLoginString, useSystemPreferenceObservable } from '@services/systemPreferences/hooks';
import { Paper, SectionTitle } from '../PreferenceComponents';
import type { ISectionProps } from '../useSections';
export function System(props: ISectionProps): React.JSX.Element {
const { t } = useTranslation();
const systemPreference = useSystemPreferenceObservable();
return (
<>
{t('Preference.System')}
{systemPreference === undefined ? {t('Loading')} : (
<>
{(popupState) => (
<>
>
)}
>
)}
>
);
}