mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 13:19:44 +02:00
fix(player): align Material lyrics toggle to bottom left
This commit is contained in:
1 parent
cd7c60cca7
commit
fad7e64fd3
1 file changed
+20
-14
@@ -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),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user