Skip to content

Commit

Permalink
Fix bug introduced by #367
Browse files Browse the repository at this point in the history
  • Loading branch information
streetturtle committed Jul 17, 2022
1 parent 2650676 commit 5358c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotify-widget/spotify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local function worker(user_args)
},
layout = wibox.layout.align.horizontal,
set_status = function(self, is_playing)
self.icon.image = (is_playing and play_icon or pause_icon)
self:get_children_by_id('icon')[1]:set_image(is_playing and play_icon or pause_icon)
if dim_when_paused then
self:get_children_by_id('icon')[1]:set_opacity(is_playing and 1 or dim_opacity)

Expand Down

0 comments on commit 5358c40

Please sign in to comment.