mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
@@ -474,7 +474,14 @@ export const settingsGroups: SettingSection[] = [
|
||||
description:
|
||||
"Automatically switch to dark mode when system theme changes",
|
||||
property: "useSystemTheme",
|
||||
icon: "circle-half"
|
||||
icon: "circle-half",
|
||||
modifer: () => {
|
||||
const current = SettingsService.get().useSystemTheme;
|
||||
SettingsService.set({
|
||||
useSystemTheme: !current
|
||||
});
|
||||
getColorScheme();
|
||||
}
|
||||
},
|
||||
{
|
||||
id: "enable-dark-mode",
|
||||
|
||||
Reference in New Issue
Block a user