From 7792fec8ac3cd7bc6bdf9be22d87a52cdc46be21 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 12 Jun 2025 06:06:52 +0800 Subject: [PATCH] Update Profile Switcher script --- community/profiles-restore-save-widget.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community/profiles-restore-save-widget.lua b/community/profiles-restore-save-widget.lua index f4c0c33..578fb22 100644 --- a/community/profiles-restore-save-widget.lua +++ b/community/profiles-restore-save-widget.lua @@ -1,5 +1,5 @@ -- name = "Profile Switcher" --- version = "1.0" +-- version = "1.1" -- description = "Tap: restore profile / Long-press: save to profile" -- type = "widget" -- author = "Marcus Johansson" @@ -22,7 +22,7 @@ function on_long_click(idx) profile = profs[idx] title = 'Save to "'..profile..'" ?' text = 'Do you want to save the current screen state to the "'..profile..'" profile ?' - ui:show_dialog(title, text, "Yes", "Cancel") + dialogs:show_dialog(title, text, "Yes", "Cancel") end function on_dialog_action(value)