mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
use type, remove console
This commit is contained in:
parent
b3a9e7ccba
commit
5e9ef9f23f
5 changed files with 8 additions and 4 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue