mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
fix(android): pass in ViewModel from activity
This commit is contained in:
parent
4924e3eebe
commit
9a300aaf21
1 changed files with 6 additions and 1 deletions
|
@ -52,7 +52,12 @@ class SearchActivity : ComponentActivity() {
|
|||
dynamicColor = true,
|
||||
providedValues = arrayOf(LocalUriHandler provides urlLauncher),
|
||||
) {
|
||||
SearchScreen(urlLauncher, htmlConverter, { webUri = it })
|
||||
SearchScreen(
|
||||
urlLauncher = urlLauncher,
|
||||
htmlConverter = htmlConverter,
|
||||
setWebUri = { webUri = it },
|
||||
viewModel = viewModel,
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue