Navigation: Add custom lists to main app navigation control helper.

This commit is contained in:
KotlinGeekDev
2024-10-30 15:01:27 +01:00
parent 5b51e97594
commit ddbaca383f
@@ -69,6 +69,7 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.dvms.DvmContentDiscoveryScr
import com.vitorpamplona.amethyst.ui.screen.loggedIn.geohash.GeoHashScreen
import com.vitorpamplona.amethyst.ui.screen.loggedIn.hashtag.HashtagScreen
import com.vitorpamplona.amethyst.ui.screen.loggedIn.home.HomeScreen
import com.vitorpamplona.amethyst.ui.screen.loggedIn.lists.ListsScreen
import com.vitorpamplona.amethyst.ui.screen.loggedIn.notifications.NotificationScreen
import com.vitorpamplona.amethyst.ui.screen.loggedIn.profile.ProfileScreen
import com.vitorpamplona.amethyst.ui.screen.loggedIn.search.SearchScreen
@@ -130,6 +131,14 @@ fun AppNavigation(
popExitTransition = { slideOutHorizontallyToEnd },
) { BookmarkListScreen(accountViewModel, nav) }
composable(
Route.Lists.route,
enterTransition = { slideInHorizontallyFromEnd },
exitTransition = { scaleOut },
popEnterTransition = { scaleIn },
popExitTransition = { slideOutHorizontallyToEnd },
) { ListsScreen(accountViewModel, nav) }
composable(
Route.Drafts.route,
enterTransition = { slideInHorizontallyFromEnd },