Skip to content

Commit 5358c40

Browse files
committed
Fix bug introduced by #367
1 parent 2650676 commit 5358c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spotify-widget/spotify.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ local function worker(user_args)
7777
},
7878
layout = wibox.layout.align.horizontal,
7979
set_status = function(self, is_playing)
80-
self.icon.image = (is_playing and play_icon or pause_icon)
80+
self:get_children_by_id('icon')[1]:set_image(is_playing and play_icon or pause_icon)
8181
if dim_when_paused then
8282
self:get_children_by_id('icon')[1]:set_opacity(is_playing and 1 or dim_opacity)
8383

0 commit comments

Comments
 (0)