From 1f1ed0cda4fb6d03593c490efa2b3a388b84b7e2 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 11 Mar 2021 00:06:29 +0100 Subject: [PATCH] Fix display issue --- lib/ui/widgets/audio_player_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), ], ),