summaryrefslogtreecommitdiff
path: root/lua/playing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/playing.lua')
-rw-r--r--lua/playing.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/playing.lua b/lua/playing.lua
index deee6987..bfca8b68 100644
--- a/lua/playing.lua
+++ b/lua/playing.lua
@@ -41,7 +41,7 @@ return screen:new {
})
self.root:center()
- self.status_bar = widgets.StatusBar(self.root, {
+ self.status_bar = widgets.StatusBar(self, {
back_cb = backstack.pop,
transparent_bg = true,
})
@@ -201,7 +201,7 @@ return screen:new {
controls:Object({ flex_grow = 1, h = 1 }) -- spacer
- self.bindings = {
+ self.bindings = self.bindings + {
playback.playing:bind(function(playing)
if playing then
play_pause_img:set_src(img.pause)