Skip to content

Commit

Permalink
Update volume screen label text color and weight. (#2209)
Browse files Browse the repository at this point in the history
* Update volume screen label text color and weight.

---------

Co-authored-by: kpaikena <[email protected]>
  • Loading branch information
kpaikena and kpaikena authored Apr 19, 2024
1 parent 092dc12 commit b20a116
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import androidx.compose.ui.semantics.LiveRegionMode
import androidx.compose.ui.semantics.contentDescription
import androidx.compose.ui.semantics.liveRegion
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import androidx.lifecycle.viewmodel.compose.viewModel
Expand Down Expand Up @@ -163,7 +164,10 @@ public fun VolumeWithLabelScreen(
contentSlot = {
Text(
stringResource(id = R.string.horologist_volume_screen_volume_label),
style = MaterialTheme.typography.button,
style = MaterialTheme.typography.button.copy(
color = MaterialTheme.colors.onBackground,
fontWeight = FontWeight.Normal,
),
maxLines = 1,
overflow = TextOverflow.Clip,
)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b20a116

Please sign in to comment.