mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
chore: Update text styling native player
This commit is contained in:
parent
4c530f1c36
commit
561351dd09
3 changed files with 6 additions and 6 deletions
|
|
@ -52,7 +52,7 @@ fun VideoPlayerScreen(
|
|||
) {
|
||||
val leanBackEnabled = leanBackEnabled(LocalContext.current)
|
||||
ExoPlayer { player ->
|
||||
ScaledContent(if (leanBackEnabled) 0.65f else 1f) {
|
||||
ScaledContent(if (leanBackEnabled) 0.6f else 1f) {
|
||||
CustomVideoControls(player)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ internal fun ProgressBar(
|
|||
if (label.isNotBlank()) {
|
||||
Text(
|
||||
text = label,
|
||||
style = MaterialTheme.typography.titleLarge.copy(
|
||||
style = MaterialTheme.typography.titleMedium.copy(
|
||||
color = Color.White,
|
||||
fontWeight = FontWeight.Bold
|
||||
),
|
||||
|
|
@ -159,7 +159,7 @@ internal fun ProgressBar(
|
|||
verticalAlignment = Alignment.CenterVertically,
|
||||
modifier = modifier.fillMaxWidth()
|
||||
) {
|
||||
val timeTextStyle = MaterialTheme.typography.titleLarge.copy(
|
||||
val timeTextStyle = MaterialTheme.typography.titleMedium.copy(
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
|
||||
|
|
@ -220,7 +220,7 @@ private fun Videolabel(value: String?) {
|
|||
) {
|
||||
Text(
|
||||
value,
|
||||
style = MaterialTheme.typography.bodySmall.copy(
|
||||
style = MaterialTheme.typography.titleMedium.copy(
|
||||
fontWeight = FontWeight.SemiBold,
|
||||
),
|
||||
color = MaterialTheme.colorScheme.onSurface
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@ fun PlaybackButtons(
|
|||
) {
|
||||
Icon(
|
||||
if (isPlaying) Iconsax.Filled.Pause else Iconsax.Filled.Play,
|
||||
modifier = Modifier.size(42.dp),
|
||||
modifier = Modifier.size(40.dp),
|
||||
contentDescription = if (isPlaying) "Pause" else "Play",
|
||||
)
|
||||
}
|
||||
|
|
@ -567,7 +567,7 @@ private fun CurrentTime() {
|
|||
) { time ->
|
||||
Text(
|
||||
text = time,
|
||||
style = MaterialTheme.typography.titleMedium,
|
||||
style = MaterialTheme.typography.titleLarge,
|
||||
color = Color.White
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue