Tweak PlayerView UI

This commit is contained in:
vfsfitvnm
2022-07-12 14:35:36 +02:00
parent c55bccc7aa
commit 434359f656
2 changed files with 3 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ import it.vfsfitvnm.vimusic.ui.styling.LocalTypography
import it.vfsfitvnm.vimusic.utils.PlayerState import it.vfsfitvnm.vimusic.utils.PlayerState
import it.vfsfitvnm.vimusic.utils.center import it.vfsfitvnm.vimusic.utils.center
import it.vfsfitvnm.vimusic.utils.color import it.vfsfitvnm.vimusic.utils.color
import it.vfsfitvnm.vimusic.utils.medium
import it.vfsfitvnm.youtubemusic.YouTube import it.vfsfitvnm.youtubemusic.YouTube
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
@@ -115,7 +116,7 @@ fun PlayerBottomSheet(
BasicText( BasicText(
text = text, text = text,
style = typography.xs.color(color).center, style = typography.xs.medium.color(color).center,
modifier = Modifier modifier = Modifier
.clickable( .clickable(
indication = rememberRipple(bounded = true), indication = rememberRipple(bounded = true),

View File

@@ -209,7 +209,7 @@ fun PlayerView(
modifier = Modifier modifier = Modifier
.padding(bottom = 64.dp) .padding(bottom = 64.dp)
.background(colorPalette.background) .background(colorPalette.background)
.padding(top = 16.dp) .padding(top = 32.dp)
) { ) {
Box( Box(
contentAlignment = Alignment.Center, contentAlignment = Alignment.Center,