Downgrade navigation version due to saved state bug (#18)

This commit is contained in:
Andrew Haisting 2023-08-30 14:46:53 -05:00 committed by Álison Fernandes
parent 72a7438e3d
commit 6212ef8fa9
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,5 @@
package com.x8bit.bitwarden.ui.feature.rootnav
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.lifecycle.compose.collectAsStateWithLifecycle
@ -27,8 +25,6 @@ fun RootNavScreen(
NavHost(
navController = navController,
startDestination = SplashRoute,
enterTransition = { EnterTransition.None },
exitTransition = { ExitTransition.None },
) {
splashDestinations()
loginDestinations()

View file

@ -14,7 +14,11 @@ androidxComposeBom = "2023.06.01"
androidxCore = "1.10.1"
androidxHiltNavigationCompose = "1.0.0"
androidxLifecycle = "2.6.1"
androidxNavigation = "2.7.0"
# Currently holding navigation at this version because of this bug:
# https://issuetracker.google.com/issues/298059596
# When updating, ensure that rememeberSaveable works correctly through process death in
# child navigation destinations (BIT-201).
androidxNavigation = "2.5.3"
androidxRoom = "2.5.2"
detekt = "1.23.1"
firebaseBom = "32.2.2"