diff --git a/ExampleAppMac/ExampleAppMac/AppDelegate.m b/ExampleAppMac/ExampleAppMac/AppDelegate.m index b6cb82e..e780f1a 100644 --- a/ExampleAppMac/ExampleAppMac/AppDelegate.m +++ b/ExampleAppMac/ExampleAppMac/AppDelegate.m @@ -72,7 +72,7 @@ CGFloat meterWidth = 0; - if (audioPlayer.duration != 0) + if (audioPlayer.currentlyPlayingQueueItemId != nil) { slider.minValue = 0; slider.maxValue = audioPlayer.duration;