Skip to content

Commit

Permalink
fix: Set the right App version code + Global refactor (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD authored Dec 26, 2024
2 parents 70a62d4 + 7dbb946 commit 8cd3b8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down

0 comments on commit 8cd3b8c

Please sign in to comment.