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

@@ -3,7 +3,7 @@
-- description = "Shows upcoming birthdays from the contacts"
-- type = "widget"
-- author = "Andrey Gavrilov"
-- version = "1.2"
-- version = "1.3"
local prefs = require "prefs"
local fmt = require "fmt"
@@ -104,7 +104,7 @@ function on_click(idx)
end
function on_settings()
ui:show_radio_dialog("Number of events", {1,2,3,4,5,6,7,8,9,10}, prefs.count)
dialogs:show_radio_dialog("Number of events", {1,2,3,4,5,6,7,8,9,10}, prefs.count)
end
function on_dialog_action(idx)