Cleanup main scripts

This commit is contained in:
Evgeny
2025-05-03 10:14:22 +08:00
parent b9d73171ed
commit d68ab0934f
3 changed files with 6 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ function on_dialog_action(data)
end
function get_cal(y,m)
local color = ui:colors()
local color = aio:colors()
local events = get_my_events(y,m,0)
local from = os.time{year=y,month=m,day=1}
local tab = {
@@ -151,7 +151,7 @@ function get_cal(y,m)
end
function format_day(y,m,d,events)
local color = ui:colors()
local color = aio:colors()
local from = os.time{year=y,month=m,day=d,hour=0,min=0,sec=0}
local to = os.time{year=y,month=m,day=d,hour=23,min=59,sec=59}
local yes = false
@@ -261,7 +261,7 @@ function get_day_tab(events)
end
function get_lines(events)
local color = ui:colors()
local color = aio:colors()
local lines = {}
for i,v in ipairs(events) do
table.insert(lines,"<font color = \""..v[9].."\">•</font>")