fix: set :plugin/selected-theme

pull/5439/head
Yue Yang 2022-05-26 02:33:27 +08:00 committed by Tienson Qin
parent 737c043c6e
commit e355f9b905
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@
(when-let [url (:url custom-theme)]
(js/LSPluginCore.selectTheme (bean/->js custom-theme)
(bean/->js {:effect false :emit false}))
(state/set-state! :plugin/selected-theme (:url url))))))
(state/set-state! :plugin/selected-theme url)))))
(defn setup-system-theme-effect!
[]