fix(player): align Material lyrics toggle to bottom left

This commit is contained in:
zarzet committed 2026-09-27 17:48:11 +07:00
1 parent cd7c60cca7
commit fad7e64fd3
1 file changed
+20 -14
+20 -14
View File
@@ -785,20 +785,26 @@ class _NowPlayingScreenState extends ConsumerState<NowPlayingScreen> {
),
)
else if (!mornye)
ExpressiveIconButton(
key: const ValueKey('material-lyrics-toggle'),
tooltip: _currentPage == 1
? context.l10n.nowPlayingTabPlayer
: context.l10n.nowPlayingTabLyrics,
selected: _currentPage == 1,
foregroundColor: _currentPage == 1
? colorScheme.onPrimaryContainer
: colorScheme.onSurfaceVariant,
backgroundColor: _currentPage == 1
? colorScheme.primaryContainer
: null,
icon: const Icon(Icons.lyrics_outlined),
onPressed: _toggleMaterialLyrics,
Padding(
padding: const EdgeInsets.symmetric(horizontal: 28),
child: Align(
alignment: Alignment.centerLeft,
child: ExpressiveIconButton(
key: const ValueKey('material-lyrics-toggle'),
tooltip: _currentPage == 1
? context.l10n.nowPlayingTabPlayer
: context.l10n.nowPlayingTabLyrics,
selected: _currentPage == 1,
foregroundColor: _currentPage == 1
? colorScheme.onPrimaryContainer
: colorScheme.onSurfaceVariant,
backgroundColor: _currentPage == 1
? colorScheme.primaryContainer
: null,
icon: const Icon(Icons.lyrics_outlined),
onPressed: _toggleMaterialLyrics,
),
),
),
if (!_landscape) const SizedBox(height: 8),
],