From 2ee74fcc1caea5e93e61009ed37938998aac116d Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Thu, 26 Dec 2024 09:53:48 +0100 Subject: [PATCH 1/2] fix: App current version Code and version name --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 97d46f15f..c674d1d3a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -30,8 +30,8 @@ android { applicationId = "com.infomaniak.swisstransfer" minSdk = sharedMinSdk targetSdk = sharedCompileSdk - versionCode = 1_00_000_00 - versionName = "1.0.0-Alpha2" + versionCode = 1_00_000_01 + versionName = "1.0.0-Alpha3" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { From 7dbb946c90a6ed4e309dc81a152efbc2cba33a1b Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Thu, 26 Dec 2024 09:54:22 +0100 Subject: [PATCH 2/2] chore: Global refactor --- .../com/infomaniak/swisstransfer/ui/OnboardingActivity.kt | 1 - .../swisstransfer/ui/navigation/NavigationDestination.kt | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/OnboardingActivity.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/OnboardingActivity.kt index b122d9201..2046db6e3 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/OnboardingActivity.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/OnboardingActivity.kt @@ -27,7 +27,6 @@ import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.material3.Surface import androidx.compose.runtime.rememberCoroutineScope -import androidx.compose.ui.platform.LocalContext import com.infomaniak.core2.compose.core.LockScreenOrientation import com.infomaniak.swisstransfer.ui.screen.onboarding.OnboardingScreen import com.infomaniak.swisstransfer.ui.theme.LocalWindowAdaptiveInfo diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt index 2d7b2132f..d64ea89fa 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt @@ -66,9 +66,9 @@ sealed class MainNavigation : NavigationDestination() { val startDestination = SentDestination // If these classes have to be renamed, they need to be renamed here too. - val sentDestinationName = "SentDestination" - val receivedDestinationName = "ReceivedDestination" - val settingsDestinationName = "SettingsDestination" + private const val sentDestinationName = "SentDestination" + private const val receivedDestinationName = "ReceivedDestination" + private const val settingsDestinationName = "SettingsDestination" val destinationsNames = listOf(sentDestinationName, receivedDestinationName, settingsDestinationName) fun NavBackStackEntry.toMainDestination(): MainNavigation? {