Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-09 15:39:27 +03:00
parent 95a1e6c766
commit d11aac4108

View file

@ -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 {