mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 16:27:06 +05:30
common: refactor comments page to accept modifiers
This commit is contained in:
parent
520430592c
commit
dd621d90a5
2 changed files with 13 additions and 15 deletions
|
@ -120,7 +120,7 @@ fun LobstersApp(
|
|||
modifier = Modifier.navigationBarsPadding(),
|
||||
)
|
||||
},
|
||||
) { paddingValues ->
|
||||
) {
|
||||
NavHost(navController, startDestination = Destinations.Hottest) {
|
||||
composable(Destinations.Hottest) {
|
||||
setWebUri("https://lobste.rs/")
|
||||
|
@ -139,7 +139,7 @@ fun LobstersApp(
|
|||
CommentsPage(
|
||||
postId = postId,
|
||||
getDetails = viewModel::getPostComments,
|
||||
paddingValues = paddingValues,
|
||||
modifier = Modifier.navigationBarsPadding(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue