mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 22:54:48 +00:00
fix(plugin): persist theme mode for web theme
This commit is contained in:
@@ -843,7 +843,7 @@
|
||||
(let [theme (bean/->clj theme)
|
||||
_opts (bean/->clj opts)
|
||||
url (:url theme)
|
||||
mode (:mode theme)]
|
||||
mode (or (:mode theme) (state/sub :ui/theme))]
|
||||
(when mode
|
||||
(state/set-custom-theme! mode theme)
|
||||
(state/set-theme-mode! mode))
|
||||
|
||||
Reference in New Issue
Block a user