mirror of https://github.com/logseq/logseq
fix: save mode when switching themes
parent
4a10f35e14
commit
6860dcb4f8
|
@ -295,7 +295,7 @@
|
|||
(when-let [custom-theme (state/sub [:ui/custom-theme (keyword theme)])]
|
||||
(when-let [url (:url custom-theme)]
|
||||
(js/LSPluginCore.selectTheme (bean/->js custom-theme)
|
||||
(bean/->js {:effect false :emit false}))
|
||||
(bean/->js {:emit false}))
|
||||
(state/set-state! :plugin/selected-theme url)))))
|
||||
|
||||
(defn setup-system-theme-effect!
|
||||
|
|
Loading…
Reference in New Issue