diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-03-07 12:12:32 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-03-07 12:12:32 +1100 |
| commit | a78614a5806c9800956f10f993e1c70b74fbf323 (patch) | |
| tree | e8d8208039a8bc7c7020e8b4e0cf18bc54875ab9 /lua/browser.lua | |
| parent | 490b067b765a05192118306e8796bf042ca31b94 (diff) | |
| download | tangara-fw-a78614a5806c9800956f10f993e1c70b74fbf323.tar.gz | |
WIP: Getting styles from lua
Diffstat (limited to 'lua/browser.lua')
| -rw-r--r-- | lua/browser.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/browser.lua b/lua/browser.lua index a7f0c336..e174a05d 100644 --- a/lua/browser.lua +++ b/lua/browser.lua @@ -4,7 +4,7 @@ local backstack = require("backstack") local font = require("font") local queue = require("queue") local playing = require("playing") -local theme = require("theme") +local styles = require("styles") local playback = require("playback") local browser = {} @@ -90,7 +90,7 @@ function browser.create(opts) local back = screen.list:add_btn(nil, "< Back") back:onClicked(backstack.pop) - back:add_style(theme.list_item) + back:add_style(styles.list_item) screen.focused_item = 0 screen.last_item = 0 @@ -122,7 +122,7 @@ function browser.create(opts) screen.add_item(opts.iterator()) end end) - btn:add_style(theme.list_item) + btn:add_style(styles.list_item) end for _ = 1, 8 do |
