diff --git a/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/MainLayout.kt b/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/MainLayout.kt index 695e7ee3..a9bebadd 100644 --- a/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/MainLayout.kt +++ b/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/MainLayout.kt @@ -13,6 +13,7 @@ import fr.androidmakers.domain.model.User import moe.tlaster.precompose.koin.koinViewModel import moe.tlaster.precompose.navigation.NavHost import moe.tlaster.precompose.navigation.Navigator +import moe.tlaster.precompose.navigation.SwipeProperties import moe.tlaster.precompose.navigation.path import moe.tlaster.precompose.navigation.rememberNavigator import org.koin.core.parameter.parametersOf @@ -67,6 +68,7 @@ private fun MainNavHost( scene( route = "${MainNavigationRoute.SESSION_DETAIL.name}/{sessionId}", + swipeProperties = SwipeProperties(), ) { val sessionId = it.path("sessionId") @@ -79,7 +81,8 @@ private fun MainNavHost( } scene( - route = "${MainNavigationRoute.SPEAKER_DETAIL.name}/{speakerId}" + route = "${MainNavigationRoute.SPEAKER_DETAIL.name}/{speakerId}", + swipeProperties = SwipeProperties(), ) { backstackEntry -> val speakerId = backstackEntry.path("speakerId") diff --git a/shared/ui/src/iosMain/kotlin/com/androidmakers/ui/MainLayoutViewController.kt b/shared/ui/src/iosMain/kotlin/com/androidmakers/ui/MainLayoutViewController.kt index 305cd773..43c1d998 100644 --- a/shared/ui/src/iosMain/kotlin/com/androidmakers/ui/MainLayoutViewController.kt +++ b/shared/ui/src/iosMain/kotlin/com/androidmakers/ui/MainLayoutViewController.kt @@ -14,5 +14,4 @@ fun MainLayoutViewController(): UIViewController = versionCode = "1.0", ) } - }