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

@@ -1,7 +1,7 @@
-- name = "ТВ-Программа"
-- description = "Программа передач россиийского ТВ"
-- type = "widget"
-- version = "1.0"
-- version = "1.1"
-- lang = "ru"
-- author = "Andrey Gavrilov"
@@ -23,9 +23,9 @@ end
function on_click(idx)
if math.ceil(idx/2) > #tab_desc then
ui:show_edit_dialog("Введите название канала","",title)
dialogs:show_edit_dialog("Введите название канала","",title)
else
ui:show_dialog(tab_name[math.ceil(idx/2)].."\n"..tab_time[math.ceil(idx/2)],tab_desc[math.ceil(idx/2)],"Перейти к каналу")
dialogs:show_dialog(tab_name[math.ceil(idx/2)].."\n"..tab_time[math.ceil(idx/2)],tab_desc[math.ceil(idx/2)],"Перейти к каналу")
link = tab_link[math.ceil(idx/2)]
end
end