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 = "Скрипт показывает историю вызов через прямое чтение базы звонков"
-- type = "widget"
-- author = "Andrey Gavrilov"
-- version = "1.0"
-- version = "1.1"
-- lang = "ru"
-- root = "true"
@@ -77,7 +77,7 @@ end
function on_click(idx)
if math.ceil(idx/3) > #tab then
ui:show_radio_dialog("Выберите тип вызовов",types,typ)
dialogs:show_radio_dialog("Выберите тип вызовов",types,typ)
else
local cmd = "am start -a android.intent.action.DIAL -d tel:"..tab[math.ceil(idx/3)].number
system:exec(cmd)