This commit is contained in:
Leon Bösche
2026-01-17 03:32:22 +01:00
parent 0c1e470779
commit bdba13cb60

View File

@@ -212,6 +212,8 @@ class _AudioPlayerBarState extends State<AudioPlayerBar>
// Play/Pause button (AnimatedIcon) // Play/Pause button (AnimatedIcon)
ModernGlassButton( ModernGlassButton(
onPressed: _isLoading ? () {} : _handlePlayPause, onPressed: _isLoading ? () {} : _handlePlayPause,
child: Transform.translate(
offset: const Offset(0, -4), // Move icon up by 4px
child: AnimatedIcon( child: AnimatedIcon(
icon: AnimatedIcons.play_pause, icon: AnimatedIcons.play_pause,
progress: _iconController, progress: _iconController,
@@ -219,6 +221,7 @@ class _AudioPlayerBarState extends State<AudioPlayerBar>
size: 22, size: 22,
), ),
), ),
),
const SizedBox(width: 10), const SizedBox(width: 10),
// File name and slider // File name and slider
Expanded( Expanded(