enhance(ui): refactor the classic modal with the shui dialog

This commit is contained in:
charlie
2024-03-19 15:41:48 +08:00
parent fbb970e65c
commit e801118466
8 changed files with 60 additions and 54 deletions

View File

@@ -1422,10 +1422,9 @@
(defn open-focused-settings-modal!
[title]
(state/set-sub-modal!
(fn [_close!]
(shui/dialog-open!
(fn []
[:div.settings-modal.of-plugins
(focused-settings-content title)])
{:center? false
:label "plugin-settings-modal"
{:label "plugin-settings-modal"
:id "ls-focused-settings-modal"}))