mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
fix(player): gradient bg not taking full height
This commit is contained in:
parent
da26c9a677
commit
62ad86e88d
@ -76,7 +76,9 @@ class PlayerView extends HookConsumerWidget {
|
|||||||
leading: const BackButton(),
|
leading: const BackButton(),
|
||||||
),
|
),
|
||||||
extendBodyBehindAppBar: true,
|
extendBodyBehindAppBar: true,
|
||||||
body: AnimateGradient(
|
body: SizedBox(
|
||||||
|
height: double.infinity,
|
||||||
|
child: AnimateGradient(
|
||||||
animateAlignments: true,
|
animateAlignments: true,
|
||||||
primaryBegin: Alignment.topLeft,
|
primaryBegin: Alignment.topLeft,
|
||||||
primaryEnd: Alignment.bottomLeft,
|
primaryEnd: Alignment.bottomLeft,
|
||||||
@ -149,7 +151,8 @@ class PlayerView extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
if (isLocalTrack)
|
if (isLocalTrack)
|
||||||
Text(
|
Text(
|
||||||
TypeConversionUtils.artists_X_String<Artist>(
|
TypeConversionUtils.artists_X_String<
|
||||||
|
Artist>(
|
||||||
currentTrack?.artists ?? [],
|
currentTrack?.artists ?? [],
|
||||||
),
|
),
|
||||||
style: theme.textTheme.bodyMedium!.copyWith(
|
style: theme.textTheme.bodyMedium!.copyWith(
|
||||||
@ -158,7 +161,8 @@ class PlayerView extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
TypeConversionUtils.artists_X_ClickableArtists(
|
TypeConversionUtils
|
||||||
|
.artists_X_ClickableArtists(
|
||||||
currentTrack?.artists ?? [],
|
currentTrack?.artists ?? [],
|
||||||
textStyle:
|
textStyle:
|
||||||
theme.textTheme.bodyMedium!.copyWith(
|
theme.textTheme.bodyMedium!.copyWith(
|
||||||
@ -220,6 +224,7 @@ class PlayerView extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user