fix(client): テーマを作成するとクライアントが起動しなくなる
This commit is contained in:
parent
b35c3114c8
commit
efafc31c9b
3 changed files with 17 additions and 3 deletions
|
|
@ -192,7 +192,7 @@ async function saveAs() {
|
|||
theme.name = name;
|
||||
theme.author = `@${$i.username}@${toUnicode(host)}`;
|
||||
if (description) theme.desc = description;
|
||||
addTheme(theme);
|
||||
await addTheme(theme);
|
||||
applyTheme(theme);
|
||||
if (defaultStore.state.darkMode) {
|
||||
ColdDeviceStorage.set('darkTheme', theme);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue