Replace deprecated functions in many scripts

This commit is contained in:
Evgeny
2025-06-05 17:05:34 +08:00
parent aa215947c9
commit 2ab316efd6
12 changed files with 34 additions and 34 deletions

View File

@@ -2,7 +2,7 @@
-- description = "Game"
-- type = "widget"
-- author = "Andrey Gavrilov"
-- version = "1.0"
-- version = "1.1"
local json = require "json"
local folded = "15 puzzle"
@@ -96,7 +96,7 @@ end
function on_click(idx)
if idx == 0 then
ui:show_dialog("Select Action","","Cancel","Reload")
dialogs:show_dialog("Select Action","","Cancel","Reload")
return
else
local tab = tabs_to_tab(tabs_to_desk(tab_to_tabs(json.decode(files:read("fifteen")))))