ios playback: initialize slider min/max values at zero at first

This commit is contained in:
Stephan Hesse 2018-05-04 11:57:05 +02:00 committed by Sebastian Dröge
parent 5188475abd
commit 49c92a9752

View file

@ -74,6 +74,8 @@
is_local_media = [uri hasPrefix:@"file://"]; is_local_media = [uri hasPrefix:@"file://"];
is_playing_desired = NO; is_playing_desired = NO;
time_slider.minimumValue = 0;
time_slider.maximumValue = 0;
} }
- (void)viewDidDisappear:(BOOL)animated - (void)viewDidDisappear:(BOOL)animated