Fix error in README

This commit is contained in:
Evgeny
2024-04-16 08:39:18 +04:00
parent a94a44c43d
commit 025032cbe9

View File

@@ -353,7 +353,7 @@ end
To change the action of the settings icon in the widget's edit menu, you can add the on_settings() function to the script. It will be called every time the user presses the icon.
```
function on_action()
function on_settings()
ui:show_toast("Settings icon clicked!")
end
```