From 6aa1be55cceef23b5fe125d3dd204010bab2d5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=B6ransson?= Date: Thu, 30 Nov 2023 09:36:01 +0100 Subject: [PATCH] Fix select location navigate back --- .../mullvad/mullvadvpn/compose/screen/SelectLocationScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SelectLocationScreen.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SelectLocationScreen.kt index f62db784f65f..5bfdee94f614 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SelectLocationScreen.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/SelectLocationScreen.kt @@ -1,6 +1,7 @@ package net.mullvad.mullvadvpn.compose.screen import androidx.compose.animation.animateContentSize +import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column @@ -112,8 +113,7 @@ fun SelectLocationScreen( painter = painterResource(id = R.drawable.icon_back), contentDescription = null, tint = Color.Unspecified, - modifier = - Modifier.size(Dimens.titleIconSize).rotate(270f).clickable { onBackClick() } + modifier = Modifier.size(Dimens.titleIconSize).rotate(270f) ) } Text(