Cleanup samples

This commit is contained in:
Evgeny
2025-05-03 09:45:26 +08:00
parent 296fbee028
commit b9d73171ed
26 changed files with 51 additions and 612 deletions

View File

@@ -22,7 +22,7 @@ function on_alarm()
table.insert(buttons,button)
table.insert(colors,v.color)
end
local color = ui:get_colors()
local color = aio:colors()
table.insert(buttons,"+")
table.insert(colors,color.secondary_text)
ui:show_buttons(buttons,colors)
@@ -44,7 +44,7 @@ function on_dialog_action(data)
if data ~= -1 then
if diag_id == "new" then
if data ~= "" then
local color = ui:get_colors()
local color = aio:colors()
local note = {}
note.text = data
note.color = color.button
@@ -85,7 +85,7 @@ end
function on_context_menu_click(idx)
local md_color = require "md_colors"
local color = ui:get_colors()
local color = aio:colors()
if idx == 1 then
move(-1)
elseif idx == 2 then