Fix bug with updating scrubber

This commit is contained in:
Sumner Evans
2019-10-08 19:46:10 -06:00
parent f8a5d2eca5
commit fab385a778

View File

@@ -159,7 +159,7 @@ class PlayerControls(Gtk.ActionBar):
self.album_art.set_loading(False)
def update_scrubber(self, current, duration):
if current is None and duration is None:
if current is None or duration is None:
self.song_duration_label.set_text('-:--')
self.song_progress_label.set_text('-:--')
self.song_scrubber.set_value(0)