mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-08-29 10:09:26 +02:00
web: persist theme's color scheme when setting a new theme (#10270)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -50,6 +50,7 @@ class ThemeStore extends BaseStore<ThemeStore> {
|
||||
|
||||
setTheme = (theme: ThemeDefinition) => {
|
||||
changeDesktopTheme(theme, this.get().followSystemTheme);
|
||||
Config.set("colorScheme", theme.colorScheme);
|
||||
Config.set(`theme:${theme.colorScheme}`, theme);
|
||||
this.set({
|
||||
[getKey(theme)]: theme,
|
||||
|
||||
Reference in New Issue
Block a user