import List, { ListItem } from "@/app/components/List"; import Switch from "@/app/components/Switch"; import Locale from "@/app/locales"; import { useAppConfig } from "@/app/store/config"; export interface MaskSettingProps {} export default function MaskSetting(props: MaskSettingProps) { const config = useAppConfig(); const updateConfig = config.update; return ( updateConfig((config) => (config.dontShowMaskSplashScreen = !e)) } /> updateConfig((config) => (config.hideBuiltinMasks = e)) } /> ); }