mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
use type, remove console
This commit is contained in:
@@ -62,7 +62,6 @@ export const ThemeSettings = () => {
|
||||
},
|
||||
});
|
||||
if (localSettings) {
|
||||
console.log(theme);
|
||||
localSettings.themeSet(
|
||||
theme === AppTheme.DEFAULT_DARK ? 'dark' : 'light',
|
||||
);
|
||||
|
||||
@@ -209,3 +209,5 @@ export enum FontType {
|
||||
CUSTOM = 'custom',
|
||||
SYSTEM = 'system',
|
||||
}
|
||||
|
||||
export type TitleTheme = 'dark' | 'light' | 'system';
|
||||
|
||||
Reference in New Issue
Block a user