Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set the right App version code + Global refactor #286

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading