diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationArgs.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationArgs.kt index 88721c140..ff5c63790 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationArgs.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationArgs.kt @@ -22,24 +22,24 @@ package com.infomaniak.swisstransfer.ui.navigation * Sealed class representing the navigation arguments for the main navigation flow. */ sealed class MainNavigation private constructor() : NavigationArgs() { - data object SentNavArgs : MainNavigation() - data object ReceivedNavArgs : MainNavigation() - data class TransferDetailsNavArgs(val transferId: Int) : MainNavigation() + data object Sent : MainNavigation() + data object Received : MainNavigation() + data class TransferDetails(val transferId: Int) : MainNavigation() - data object SettingsNavArgs : MainNavigation() + data object Settings : MainNavigation() } /** * Sealed class representing the navigation arguments for the new transfer flow. */ sealed class NewTransferNavigation private constructor() : NavigationArgs() { - data object ImportFilesNavArgs : NavigationArgs() - data object TransferTypeNavArgs : NavigationArgs() - data object TransferOptionsNavArgs : NavigationArgs() - data object ValidateUserEmailNavArgs : NavigationArgs() + data object ImportFiles : NavigationArgs() + data object TransferType : NavigationArgs() + data object TransferOptions : NavigationArgs() + data object ValidateUserEmail : NavigationArgs() - data object UploadProgressNavArgs : NavigationArgs() - data object UploadSuccessNavArgs : NavigationArgs() + data object UploadProgress : NavigationArgs() + data object UploadSuccess : NavigationArgs() } /** diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bd1a60112..ad24acfa5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,7 +7,7 @@ junit = "4.13.2" junitVersion = "1.2.1" kotlin = "2.0.0" lifecycleRuntimeKtx = "2.8.3" -navigation = "2.7.7" +navigation = "2.8.0-beta05" [libraries] androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }