| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8b4a9b3 commit 7ced019
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -227,7 +227,7 @@ class IOSApplication implements IOSApplicationDefinition { | |||
| 227 | 227 | ||
| 228 | 228 | public _onLivesync(): void { | |
| 229 | 229 | // If view can't handle livesync set window controller. | |
| 230 | - if (!this._rootView._onLivesync()) { | ||
| 230 | + if (this._rootView && !this._rootView._onLivesync()) { | ||
| 231 | 231 | this.setWindowContent(); | |
| 232 | 232 | } | |
| 233 | 233 | } | |
@@ -380,4 +380,4 @@ global.__onLiveSync = function __onLiveSync(context?: ModuleContext) { | |||
| 380 | 380 | ||
| 381 | 381 | const rootView = getRootView(); | |
| 382 | 382 | livesync(rootView, context); | |
| 383 | - } | ||
| 383 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments