Added bigger synced lyrics feature
This commit is contained in:
parent
6e83b8b83d
commit
9097570a8d
1 changed files with 2 additions and 1 deletions
|
@ -46,6 +46,7 @@ import androidx.compose.ui.platform.LocalView
|
||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import androidx.compose.ui.unit.Dp
|
import androidx.compose.ui.unit.Dp
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
|
import androidx.compose.ui.unit.sp
|
||||||
import androidx.media3.common.C
|
import androidx.media3.common.C
|
||||||
import androidx.media3.common.MediaMetadata
|
import androidx.media3.common.MediaMetadata
|
||||||
import com.valentinilk.shimmer.shimmer
|
import com.valentinilk.shimmer.shimmer
|
||||||
|
@ -285,7 +286,7 @@ fun Lyrics(
|
||||||
itemsIndexed(items = synchronizedLyrics.sentences) { index, sentence ->
|
itemsIndexed(items = synchronizedLyrics.sentences) { index, sentence ->
|
||||||
BasicText(
|
BasicText(
|
||||||
text = sentence.second,
|
text = sentence.second,
|
||||||
style = typography.xs.center.medium.color(if (index == synchronizedLyrics.index) PureBlackColorPalette.text else PureBlackColorPalette.textDisabled),
|
style = typography.xs.copy(fontSize = 25.sp).center.medium.color(if (index == synchronizedLyrics.index) PureBlackColorPalette.text else PureBlackColorPalette.textDisabled),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(vertical = 4.dp, horizontal = 32.dp)
|
.padding(vertical = 4.dp, horizontal = 32.dp)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue