File tree 2 files changed +3
-3
lines changed
android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ fun DaitaConfirmation(navigator: ResultBackNavigator<Boolean>) {
45
45
Icon (
46
46
modifier = Modifier .fillMaxWidth().height(Dimens .dialogIconHeight),
47
47
painter = painterResource(id = R .drawable.icon_alert),
48
- contentDescription = " " ,
48
+ contentDescription = null ,
49
49
tint = MaterialTheme .colorScheme.onSurface
50
50
)
51
51
},
Original file line number Diff line number Diff line change @@ -518,8 +518,8 @@ fun VpnSettingsScreen(
518
518
HeaderSwitchComposeCell (
519
519
title = stringResource(id = R .string.daita),
520
520
isToggled = state.isDaitaEnabled,
521
- onCellClicked = { newValueIsEnable ->
522
- if (newValueIsEnable ) {
521
+ onCellClicked = { enable ->
522
+ if (enable ) {
523
523
navigateToDaitaConfirmation()
524
524
} else {
525
525
onDisableDaita()
You can’t perform that action at this time.
0 commit comments