diff --git a/app/src/main/kotlin/com/wire/android/navigation/style/WireDestinationStyleAnimated.kt b/app/src/main/kotlin/com/wire/android/navigation/style/WireDestinationStyleAnimated.kt index 8dfa42fee0..be4de11ef9 100644 --- a/app/src/main/kotlin/com/wire/android/navigation/style/WireDestinationStyleAnimated.kt +++ b/app/src/main/kotlin/com/wire/android/navigation/style/WireDestinationStyleAnimated.kt @@ -22,7 +22,7 @@ import androidx.compose.animation.EnterTransition import androidx.compose.animation.ExitTransition import androidx.compose.animation.ExperimentalAnimationApi import androidx.navigation.NavBackStackEntry -import com.ramcosta.composedestinations.spec.DestinationStyleAnimated +import com.ramcosta.composedestinations.spec.DestinationStyle import com.wire.android.ui.appDestination import com.wire.android.ui.destinations.Destination @@ -32,7 +32,7 @@ import com.wire.android.ui.destinations.Destination * Thanks to that animations are consistent and not mixed when both destinations involved in the transition use different styles. */ @OptIn(ExperimentalAnimationApi::class) -internal interface WireDestinationStyleAnimated : DestinationStyleAnimated { +internal interface WireDestinationStyleAnimated : DestinationStyle.Animated { fun animationType(): TransitionAnimationType = TransitionAnimationType.SLIDE private fun Destination.getAnimationTypeStyle() = (this.style as? WireDestinationStyleAnimated)?.animationType() ?: SlideNavigationAnimation.animationType() diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 90338a8995..0996e8719c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -40,8 +40,8 @@ androidx-biometric = "1.1.0" composeBom = "2023.10.00" # TODO check if in new version [anchoredDraggable] is available compose-compiler = "1.5.2" compose-constraint = "1.0.1" -compose-navigation = "2.6.0" -compose-destinations = "1.9.40-beta" +compose-navigation = "2.7.3" # adjusted to work with compose-destinations "1.9.54" +compose-destinations = "1.9.54" # Hilt hilt = "2.48" @@ -49,7 +49,7 @@ hilt-composeNavigation = "1.0.0" hilt-work = "1.0.0" # Android UI -accompanist = "0.31.0-alpha" # adjusted to work with compose-destinations "1.9.40-beta" +accompanist = "0.32.0" # adjusted to work with compose-destinations "1.9.54" material = "1.9.0" coil = "2.4.0" commonmark = "0.21.0"