Update Widget Switcher script

This commit is contained in:
Evgeny
2024-04-09 10:47:57 +04:00
parent df9354937b
commit dec11bf971
3 changed files with 3 additions and 3 deletions

View File

@@ -9,8 +9,6 @@ prefs._name = "widgets"
local pos = 0
local color = aio:colors()
local enabled_color = "#1976d2"
local disabled_color = aio:colors().button
local buttons,colors = {},{}
function on_alarm()
@@ -77,6 +75,8 @@ function get_indexes(tab1,tab2)
end
function get_buttons()
local enabled_color = aio:colors().progress_good
local disabled_color = aio:colors().button
buttons,colors = {},{}
for i,v in ipairs(indexes) do
table.insert(buttons, "fa:" .. widgets.icon[v])