diff --git a/main/widgets-on-off.lua b/main/widgets-on-off.lua index afa27d9..2d69992 100644 --- a/main/widgets-on-off.lua +++ b/main/widgets-on-off.lua @@ -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]) diff --git a/scripts.md5 b/scripts.md5 index 1673e6c..385b187 100644 --- a/scripts.md5 +++ b/scripts.md5 @@ -1 +1 @@ -ddadeb63256e4e14a7f89bbe6a0c2c17 +f479d227b90a6f98f309841cdcce9f38 diff --git a/scripts.zip b/scripts.zip index 1a75e4e..6369f69 100644 Binary files a/scripts.zip and b/scripts.zip differ