update: migrate to widget.actions

This commit is contained in:
Yocraft-2000
2026-08-04 00:30:50 +02:00
parent 68a563b862
commit a490b35068
2 changed files with 3 additions and 4 deletions
+3
View File
@@ -14,6 +14,9 @@ dependencies = [ "qrencode" ]
id = "widget"
entry = "widget.luau"
[widget.actions]
left = "panel-toggle yocraft/qrcode:panel"
[[widget.setting]]
key = "glyph"
type = "glyph"
-4
View File
@@ -7,7 +7,3 @@ else
end
barWidget.setTooltip(noctalia.tr("widget.tooltip"))
function onClick()
noctalia.togglePanel("yocraft/qrcode:panel")
end