From 025032cbe9ed470e1387fd6ea1dc5b8d77dc8909 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 16 Apr 2024 08:39:18 +0400 Subject: [PATCH] Fix error in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc9399f..2ed337f 100644 --- a/README.md +++ b/README.md @@ -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 ```