fix/various fixes

This commit is contained in:
Kevin
2026-03-20 15:15:35 +08:00
parent 7f57f96c25
commit 7317bf10cd
112 changed files with 3790 additions and 2242 deletions

View File

@@ -48,7 +48,7 @@ export function AppSettingsProvider({ children }: PropsWithChildren) {
const { t } = useTranslation('app');
const [language, setLanguageState] = useState<AppLanguage | null>(null);
const [largeText, setLargeTextState] = useState(false);
const [largeText, setLargeTextState] = useState(true);
const [darkMode, setDarkModeState] = useState(false);
const [themeName, setThemeNameState] = useState<ThemeName>('default');
const [ready, setReady] = useState(false);

View File

@@ -56,6 +56,7 @@ export async function clearAppLanguage(): Promise<void> {
export async function getLargeText(): Promise<boolean> {
const v = await getStored(KEY_LARGE_TEXT);
if (v == null || v === '') return true;
return v === 'true';
}