diff --git a/lib/ui/widgets/audio_player_widget.dart b/lib/ui/widgets/audio_player_widget.dart index a9b43bc..11a86da 100644 --- a/lib/ui/widgets/audio_player_widget.dart +++ b/lib/ui/widgets/audio_player_widget.dart @@ -68,7 +68,7 @@ class _AudioPlayerWidgetState extends State { _AudioButton(icon: Icons.pause, onTap: _pause, visible: _playing), _AudioButton(icon: Icons.stop, onTap: _stop, visible: _playing), Spacer(), - Text(formatDuration(_mediaDuration ?? Duration())), + _playing ? Container() : Text(formatDuration(_mediaDuration ?? Duration())), Spacer(), ], ),