Updated on 2026-08-14
This commit is contained in:
parent
95a1e6c766
commit
d11aac4108
1 changed files with 4 additions and 1 deletions
|
|
@ -299,9 +299,12 @@ class MainActivity : AppCompatActivity(), SnackbarHandler, ActivityResultCallbac
|
|||
}
|
||||
|
||||
private fun setRootContent() {
|
||||
// for now activity is singleTop and after going to ChromeCustomTab it calls onCreate but onDestroy
|
||||
// doesn't calls. It lead to issue that decompose nav stack is not saved in bundle and to restore it
|
||||
// we try to init component with previous stack
|
||||
val routingComponent = routingComponentFactory.create(
|
||||
context = rootComponentContext,
|
||||
initialStack = null,
|
||||
initialStack = appRouterConfig.stack,
|
||||
)
|
||||
|
||||
setContent {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue