diff options
Diffstat (limited to 'lua/main_menu.lua')
| -rw-r--r-- | lua/main_menu.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/main_menu.lua b/lua/main_menu.lua index f95b0360..164ba650 100644 --- a/lua/main_menu.lua +++ b/lua/main_menu.lua @@ -35,7 +35,7 @@ return widgets.MenuScreen:new { pad_column = 4, border_width = 1, }) - theme.set_style(now_playing, "now_playing"); + theme.set_subject(now_playing, "now_playing"); local play_pause = now_playing:Image { src = img.play_small } local title = now_playing:Label { @@ -145,7 +145,7 @@ return widgets.MenuScreen:new { -- local queue_btn = bottom_bar:Button {} -- queue_btn:Image { src = img.queue } - -- theme.set_style(queue_btn, "icon_enabled") + -- theme.set_subject(queue_btn, "icon_enabled") local files_btn = bottom_bar:Button {} files_btn:onClicked(function() @@ -156,7 +156,7 @@ return widgets.MenuScreen:new { end) files_btn:Image { src = img.files } widgets.Description(files_btn, "File browser") - theme.set_style(files_btn, "menu_icon") + theme.set_subject(files_btn, "menu_icon") local settings_btn = bottom_bar:Button {} settings_btn:onClicked(function() @@ -164,6 +164,6 @@ return widgets.MenuScreen:new { end) settings_btn:Image { src = img.settings } widgets.Description(settings_btn, "Settings") - theme.set_style(settings_btn, "menu_icon") + theme.set_subject(settings_btn, "menu_icon") end, } |
