Skip to content

Commit

Permalink
Merge branch 'review-top-bar-droid-451'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Oct 30, 2023
2 parents 4b4166c + fa89406 commit a182908
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import androidx.compose.ui.unit.dp
import net.mullvad.mullvadvpn.R
import net.mullvad.mullvadvpn.lib.theme.AppTheme
import net.mullvad.mullvadvpn.lib.theme.Dimens
import net.mullvad.mullvadvpn.lib.theme.color.AlphaTopBar

@Preview
@Composable
Expand Down Expand Up @@ -303,7 +304,8 @@ fun MullvadTopBarWithDeviceName(
?: "",
maxLines = 1,
overflow = TextOverflow.Ellipsis,
style = MaterialTheme.typography.bodySmall
style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onBackground.copy(alpha = AlphaTopBar)
)
if (daysLeftUntilExpiry != null) {
Text(
Expand All @@ -316,7 +318,8 @@ fun MullvadTopBarWithDeviceName(
daysLeftUntilExpiry
)
),
style = MaterialTheme.typography.bodySmall
style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onBackground.copy(alpha = AlphaTopBar)
)
} else {
Spacer(Modifier)
Expand Down

0 comments on commit a182908

Please sign in to comment.