fix(themes): disable requiring reload for disabling themes
This commit is contained in:
parent
d6a604f69c
commit
17752879b9
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ export function selectTheme(theme: VdThemeInfo | null, write = true) {
|
|||
);
|
||||
|
||||
if (theme == null && write) {
|
||||
updateBunnyColor(null, { update: true, startup: false });
|
||||
updateBunnyColor(null, { update: false, startup: true });
|
||||
return writeThemeToNative({});
|
||||
} else if (theme) {
|
||||
updateBunnyColor(theme.data, { update: true, startup: false });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue