mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
This commit is contained in:
committed by
Alexander Vakrilov
parent
af934ccabf
commit
9d7f0e5315
@@ -945,7 +945,7 @@ function setActivityContent(activity: android.app.Activity, savedInstanceState:
|
||||
if (!rootView) {
|
||||
// If we have frameId from extras - we are starting a new activity from navigation (e.g. new Frame().navigate()))
|
||||
// Then we check if we have frameId from savedInstanceState - this happens when Activity is destroyed but app was not (e.g. suspend)
|
||||
rootView = frameId >= 0 ? getFrameById(frameId) : new Frame();
|
||||
rootView = getFrameById(frameId) || new Frame();
|
||||
}
|
||||
|
||||
if (rootView instanceof Frame) {
|
||||
|
||||
Reference in New Issue
Block a user