enhance(ui): refactor the plugin manager menu with the shui popup

This commit is contained in:
charlie
2024-03-18 17:40:57 +08:00
parent e489a78479
commit 419b99681e
2 changed files with 7 additions and 3 deletions

View File

@@ -466,7 +466,7 @@
(let [[enabled, set-enabled!] (rum/use-state (plugin-handler/get-enabled-auto-check-for-updates?))
text (t :plugin/auto-check-for-updates)]
[:div.flex.items-center.justify-between.px-4.py-2
[:div.flex.items-center.justify-between.px-3.py-2
{:on-click (fn []
(let [t (not enabled)]
(set-enabled! t)