wip: transact tx to disk to avoid data-loss

This commit is contained in:
Tienson Qin
2023-12-15 09:39:56 +08:00
parent ffa6aaae29
commit a9f62baf6d
8 changed files with 82 additions and 33 deletions

View File

@@ -247,7 +247,6 @@
_ (mobile-util/hide-splash) ;; hide splash as early as ui is stable
repo (or (state/get-current-repo) (:url (first repos)))
_ (restore-and-setup! repo repos)]
(persist-db/run-export-periodically!)
(when (mobile-util/native-platform?)
(state/restore-mobile-theme!)))
(p/catch (fn [e]