update: migrate to widget.actions
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -7,7 +7,3 @@ else
|
||||
end
|
||||
|
||||
barWidget.setTooltip(noctalia.tr("widget.tooltip"))
|
||||
|
||||
function onClick()
|
||||
noctalia.togglePanel("yocraft/qrcode:panel")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user