This commit is contained in:
Vanessa 2023-01-24 20:31:35 +08:00
parent 95c5c1d8ae
commit c8b05a6b96
5 changed files with 71 additions and 4 deletions

View file

@ -13,7 +13,7 @@ import {openFileById} from "./editor/util";
import {
bootSync,
downloadProgress,
processSync,
processSync, progressBackgroundTask,
progressLoading,
progressStatus,
setTitle,
@ -100,7 +100,10 @@ class App {
transactionError(data);
break;
case "syncing":
processSync(data)
processSync(data);
break;
case "backgroundtask":
progressBackgroundTask(data.data.tasks);
break;
case "refreshtheme":
if (!window.siyuan.config.appearance.customCSS && data.data.theme.indexOf("custom.css") > -1) {