🐛 Bug fixes

This commit is contained in:
2024-08-30 22:06:24 +08:00
parent 47d051dd44
commit fbb12ff801
4 changed files with 8 additions and 10 deletions

View File

@ -240,7 +240,7 @@ class _PlayerScreenState extends State<PlayerScreen> {
width: 56,
height: 56,
child: IconButton.filled(
icon: _isFetchingActiveTrack
icon: (_isFetchingActiveTrack && _isPlaying)
? const SizedBox(
height: 20,
width: 20,
@ -255,9 +255,7 @@ class _PlayerScreenState extends State<PlayerScreen> {
: Icons.pause,
size: 28,
),
onPressed: _isFetchingActiveTrack
? null
: _togglePlayState,
onPressed: _togglePlayState,
),
),
),