Skip to content

Commit

Permalink
Fix provider text color
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa authored and Jon Petersson committed Apr 4, 2024
1 parent 3e4f72e commit 9168537
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import net.mullvad.mullvadvpn.lib.theme.Dimens
@Preview
@Composable
private fun PreviewCheckboxCell() {
AppTheme { CheckboxCell(providerName = "", checked = false, onCheckedChange = {}) }
AppTheme { CheckboxCell(providerName = "Provider 1", checked = false, onCheckedChange = {}) }
}

@Composable
Expand Down Expand Up @@ -54,7 +54,7 @@ internal fun CheckboxCell(
Text(
text = providerName,
style = MaterialTheme.typography.labelLarge,
color = MaterialTheme.colorScheme.onSecondary,
color = MaterialTheme.colorScheme.onBackground,
modifier =
Modifier.weight(1f)
.padding(top = Dimens.mediumPadding, bottom = Dimens.mediumPadding)
Expand Down

0 comments on commit 9168537

Please sign in to comment.