Navigation: Add custom lists to main app navigation control helper.
This commit is contained in:
@@ -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.geohash.GeoHashScreen
|
||||||
import com.vitorpamplona.amethyst.ui.screen.loggedIn.hashtag.HashtagScreen
|
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.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.notifications.NotificationScreen
|
||||||
import com.vitorpamplona.amethyst.ui.screen.loggedIn.profile.ProfileScreen
|
import com.vitorpamplona.amethyst.ui.screen.loggedIn.profile.ProfileScreen
|
||||||
import com.vitorpamplona.amethyst.ui.screen.loggedIn.search.SearchScreen
|
import com.vitorpamplona.amethyst.ui.screen.loggedIn.search.SearchScreen
|
||||||
@@ -130,6 +131,14 @@ fun AppNavigation(
|
|||||||
popExitTransition = { slideOutHorizontallyToEnd },
|
popExitTransition = { slideOutHorizontallyToEnd },
|
||||||
) { BookmarkListScreen(accountViewModel, nav) }
|
) { BookmarkListScreen(accountViewModel, nav) }
|
||||||
|
|
||||||
|
composable(
|
||||||
|
Route.Lists.route,
|
||||||
|
enterTransition = { slideInHorizontallyFromEnd },
|
||||||
|
exitTransition = { scaleOut },
|
||||||
|
popEnterTransition = { scaleIn },
|
||||||
|
popExitTransition = { slideOutHorizontallyToEnd },
|
||||||
|
) { ListsScreen(accountViewModel, nav) }
|
||||||
|
|
||||||
composable(
|
composable(
|
||||||
Route.Drafts.route,
|
Route.Drafts.route,
|
||||||
enterTransition = { slideInHorizontallyFromEnd },
|
enterTransition = { slideInHorizontallyFromEnd },
|
||||||
|
|||||||
Reference in New Issue
Block a user