mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
move web reader content loading into viewmodel
This commit is contained in:
parent
1250e07645
commit
57b4e47ac0
3 changed files with 67 additions and 33 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -84,6 +84,8 @@ fun PrimaryNavigator(
|
|||
}
|
||||
|
||||
composable("WebReader/{slug}") {
|
||||
webReaderViewModel.reset() // clear previously loaded item
|
||||
|
||||
WebReaderLoadingContainer(
|
||||
it.arguments?.getString("slug") ?: "",
|
||||
webReaderViewModel = webReaderViewModel
|
||||
|
|
|
|||
Loading…
Reference in a new issue