| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -945,7 +945,7 @@ function setActivityContent(activity: android.app.Activity, savedInstanceState: | |||
| 945 | 945 | if (!rootView) { | |
| 946 | 946 | // If we have frameId from extras - we are starting a new activity from navigation (e.g. new Frame().navigate())) | |
| 947 | 947 | // Then we check if we have frameId from savedInstanceState - this happens when Activity is destroyed but app was not (e.g. suspend) | |
| 948 | - rootView = frameId >= 0 ? getFrameById(frameId) : new Frame(); | ||
| 948 | + rootView = getFrameById(frameId) || new Frame(); | ||
| 949 | 949 | } | |
| 950 | 950 | ||
| 951 | 951 | if (rootView instanceof Frame) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments