diff --git a/mobile/lib/playback.dart b/mobile/lib/playback.dart index 2afe5df..8de2c49 100644 --- a/mobile/lib/playback.dart +++ b/mobile/lib/playback.dart @@ -377,9 +377,9 @@ class _PlaybackService extends BackgroundAudioTask { /// Notify the UI of the new playback position periodically. Future _updatePosition() async { while (_playing) { + _sendPosition(); await Future.delayed( const Duration(milliseconds: positionUpdateInterval)); - _sendPosition(); } }