Skip to content

Commit 62ed081

Browse files
committed
Fix feedback
1 parent 123d561 commit 62ed081

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/DaitaConfirmationDialog.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fun DaitaConfirmation(navigator: ResultBackNavigator<Boolean>) {
4545
Icon(
4646
modifier = Modifier.fillMaxWidth().height(Dimens.dialogIconHeight),
4747
painter = painterResource(id = R.drawable.icon_alert),
48-
contentDescription = "",
48+
contentDescription = null,
4949
tint = MaterialTheme.colorScheme.onSurface
5050
)
5151
},

android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/VpnSettingsScreen.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ fun VpnSettingsScreen(
518518
HeaderSwitchComposeCell(
519519
title = stringResource(id = R.string.daita),
520520
isToggled = state.isDaitaEnabled,
521-
onCellClicked = { newValueIsEnable ->
522-
if (newValueIsEnable) {
521+
onCellClicked = { enable ->
522+
if (enable) {
523523
navigateToDaitaConfirmation()
524524
} else {
525525
onDisableDaita()

0 commit comments

Comments
 (0)