|
|
|
@ -20,7 +20,7 @@ import androidx.compose.runtime.Composable
|
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
|
import androidx.navigation.compose.NavHost
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.bookmarks.navigation.bookmarksScreen
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.foryou.navigation.FOR_YOU_NAVIGATION_ROUTE
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.foryou.navigation.FOR_YOU_ROUTE
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.foryou.navigation.forYouScreen
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.interests.navigation.interestsGraph
|
|
|
|
|
import com.google.samples.apps.nowinandroid.feature.search.navigation.searchScreen
|
|
|
|
@ -41,7 +41,7 @@ fun NiaNavHost(
|
|
|
|
|
appState: NiaAppState,
|
|
|
|
|
onShowSnackbar: suspend (String, String?) -> Boolean,
|
|
|
|
|
modifier: Modifier = Modifier,
|
|
|
|
|
startDestination: String = FOR_YOU_NAVIGATION_ROUTE,
|
|
|
|
|
startDestination: String = FOR_YOU_ROUTE,
|
|
|
|
|
) {
|
|
|
|
|
val navController = appState.navController
|
|
|
|
|
NavHost(
|
|
|
|
|