mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-22 08:21:07 +08:00
Merge pull request #6879 from NativeScript/tachev/fix-app-launch
fix: app launch with app.css hot module update
This commit is contained in:
@ -227,7 +227,7 @@ class IOSApplication implements IOSApplicationDefinition {
|
|||||||
|
|
||||||
public _onLivesync(): void {
|
public _onLivesync(): void {
|
||||||
// If view can't handle livesync set window controller.
|
// If view can't handle livesync set window controller.
|
||||||
if (!this._rootView._onLivesync()) {
|
if (this._rootView && !this._rootView._onLivesync()) {
|
||||||
this.setWindowContent();
|
this.setWindowContent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user