Change scanlator exclusion filter checked icon to "X"

This commit is contained in:
schroda
2025-07-20 22:56:08 +02:00
parent 53b14a8878
commit bbb2da52f4
2 changed files with 12 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
import { bindTrigger, usePopupState } from 'material-ui-popup-state/hooks';
import { useTranslation } from 'react-i18next';
import PeopleAltOutlinedIcon from '@mui/icons-material/PeopleAltOutlined';
import DisabledByDefaultRounded from '@mui/icons-material/DisabledByDefaultRounded';
import { CheckboxListSetting } from '@/modules/core/components/settings/CheckboxListSetting.tsx';
import { updateChapterListOptions } from '@/modules/chapter/utils/ChapterList.util.tsx';
import { CheckboxInput } from '@/modules/core/components/inputs/CheckboxInput.tsx';
@@ -51,6 +52,11 @@ export const ChapterExcludeSanlatorsFilter = ({
getId={(scanlator) => scanlator}
getLabel={(scanlator) => scanlator}
isChecked={(scanlator) => excludedScanlators.includes(scanlator)}
slotProps={{
checkbox: {
checkedIcon: <DisabledByDefaultRounded />,
},
}}
/>
</>
);