1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix display issue

This commit is contained in:
Pierre HUBERT 2021-03-11 00:06:29 +01:00
parent 6c00e0bcab
commit 1f1ed0cda4

View File

@ -68,7 +68,7 @@ class _AudioPlayerWidgetState extends State<AudioPlayerWidget> {
_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(),
],
),