Fix UI blooper in CurrentPlaylistView
This commit is contained in:
parent
41b22eab70
commit
e4e53bf056
1 changed files with 11 additions and 3 deletions
|
@ -8,7 +8,6 @@ import androidx.compose.foundation.Image
|
|||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.interaction.MutableInteractionSource
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.PaddingValues
|
||||
|
@ -205,7 +204,6 @@ fun CurrentPlaylistView(
|
|||
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
horizontalArrangement = Arrangement.SpaceBetween,
|
||||
modifier = Modifier
|
||||
.clickable(
|
||||
indication = rememberRipple(bounded = true),
|
||||
|
@ -221,7 +219,12 @@ fun CurrentPlaylistView(
|
|||
Spacer(
|
||||
modifier = Modifier
|
||||
.padding(all = 8.dp)
|
||||
.size(20.dp)
|
||||
.size(22.dp)
|
||||
)
|
||||
|
||||
Spacer(
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
)
|
||||
|
||||
Column(horizontalAlignment = Alignment.CenterHorizontally) {
|
||||
|
@ -237,6 +240,11 @@ fun CurrentPlaylistView(
|
|||
)
|
||||
}
|
||||
|
||||
Spacer(
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
)
|
||||
|
||||
Image(
|
||||
painter = painterResource(R.drawable.shuffle),
|
||||
contentDescription = null,
|
||||
|
|
Loading…
Reference in a new issue