From 4a1da2128ced18417ce042ad449990d94002c99f Mon Sep 17 00:00:00 2001 From: Jonatan Rhodin Date: Wed, 19 Jun 2024 12:49:16 +0200 Subject: [PATCH] Fix navigation mixup in settings --- .../net/mullvad/mullvadvpn/compose/screen/SettingsScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreen.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreen.kt index 702c1ca030bc..03d5ede06abb 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreen.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SettingsScreen.kt @@ -71,9 +71,9 @@ fun Settings(navigator: DestinationsNavigator) { onVpnSettingCellClick = dropUnlessResumed { navigator.navigate(VpnSettingsDestination) }, onSplitTunnelingCellClick = dropUnlessResumed { navigator.navigate(SplitTunnelingDestination) }, + onApiAccessClick = dropUnlessResumed { navigator.navigate(ApiAccessListDestination) }, onReportProblemCellClick = - dropUnlessResumed { navigator.navigate(ApiAccessListDestination) }, - onApiAccessClick = dropUnlessResumed { navigator.navigate(ReportProblemDestination) }, + dropUnlessResumed { navigator.navigate(ReportProblemDestination) }, onBackClick = dropUnlessResumed { navigator.navigateUp() } ) }