Skip to content

Commit

Permalink
fix wrong lyrics button state in landscape mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaphasilor committed Nov 11, 2024
1 parent fcad4c9 commit fe7dac0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/screens/player_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class _PlayerScreenContent extends ConsumerWidget {
screenOrientation);
if (controller.useLandscape) {
return Row(
crossAxisAlignment: CrossAxisAlignment.center,
crossAxisAlignment: CrossAxisAliingnment.center,
children: [
SizedBox(
width: controller.albumSize.width,
Expand Down Expand Up @@ -291,7 +291,12 @@ class _PlayerScreenContent extends ConsumerWidget {
const Spacer(flex: 10),
if (controller
.shouldShow(PlayerHideable.bottomActions))
_buildBottomActions(context, controller),
_buildBottomActions(
context,
controller,
isLyricsLoading: isLyricsLoading,
isLyricsAvailable: isLyricsAvailable,
),
const Spacer(
flex: 4,
),
Expand Down

0 comments on commit fe7dac0

Please sign in to comment.