Skip to content

Commit

Permalink
Merge pull request #616 from RounakDadsena/jetpack_compose
Browse files Browse the repository at this point in the history
Fixed Lyrics screen and shuffle button color
  • Loading branch information
maxrave-dev authored Dec 14, 2024
2 parents d52a188 + 0a433ce commit 99ddbd1
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ fun FullscreenLyricsSheet(
// Control Button Layout
Row(
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.SpaceBetween,
horizontalArrangement = Arrangement.Center,
modifier =
Modifier
.fillMaxWidth()
Expand All @@ -569,7 +569,7 @@ fun FullscreenLyricsSheet(
),
modifier =
Modifier
.size(48.dp)
.weight(1f) // Distribute equal weight
.aspectRatio(1f)
.clip(
CircleShape,
Expand All @@ -582,14 +582,14 @@ fun FullscreenLyricsSheet(
if (isShuffle) {
Icon(
imageVector = Icons.Filled.Shuffle,
tint = Color.White,
tint = seed, // Accent color when shuffle is ON
contentDescription = "",
modifier = Modifier.size(32.dp),
)
} else {
Icon(
imageVector = Icons.Filled.Shuffle,
tint = seed,
tint = Color.White, // White when shuffle is OFF
contentDescription = "",
modifier = Modifier.size(32.dp),
)
Expand All @@ -603,7 +603,7 @@ fun FullscreenLyricsSheet(
),
modifier =
Modifier
.size(72.dp)
.weight(1f)
.aspectRatio(1f)
.clip(
CircleShape,
Expand All @@ -628,7 +628,7 @@ fun FullscreenLyricsSheet(
),
modifier =
Modifier
.size(96.dp)
.weight(1f)
.aspectRatio(1f)
.clip(
CircleShape,
Expand All @@ -643,7 +643,7 @@ fun FullscreenLyricsSheet(
imageVector = Icons.Filled.PlayCircle,
tint = Color.White,
contentDescription = "",
modifier = Modifier.size(72.dp),
modifier = Modifier.size(56.dp),
)
} else {
Icon(
Expand All @@ -662,7 +662,7 @@ fun FullscreenLyricsSheet(
),
modifier =
Modifier
.size(72.dp)
.weight(1f)
.aspectRatio(1f)
.clip(
CircleShape,
Expand All @@ -687,7 +687,7 @@ fun FullscreenLyricsSheet(
),
modifier =
Modifier
.size(48.dp)
.weight(1f)
.aspectRatio(1f)
.clip(
CircleShape,
Expand Down

0 comments on commit 99ddbd1

Please sign in to comment.