mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
android: remove hard-coded 'hottest' references
This commit is contained in:
parent
9d538b4600
commit
e1e049ebdb
1 changed files with 3 additions and 3 deletions
|
@ -109,14 +109,14 @@ fun LobstersApp(
|
|||
topBar = { ClawAppBar(modifier = Modifier.statusBarsPadding()) },
|
||||
floatingActionButton = {
|
||||
ClawFab(
|
||||
isFabVisible = isFabVisible && currentDestination == "hottest",
|
||||
isFabVisible = isFabVisible && currentDestination == Destinations.Hottest,
|
||||
listState = listState,
|
||||
modifier = Modifier.navigationBarsPadding(),
|
||||
)
|
||||
},
|
||||
) { paddingValues ->
|
||||
NavHost(navController, startDestination = "hottest") {
|
||||
composable("hottest") {
|
||||
NavHost(navController, startDestination = Destinations.Hottest) {
|
||||
composable(Destinations.Hottest) {
|
||||
HottestPosts(
|
||||
items,
|
||||
listState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue