Fix null reference exception.

This commit is contained in:
Rossen Hristov
2016-05-20 18:32:08 +03:00
parent 7340a6e2fc
commit 9e36329e9d

View File

@ -706,7 +706,7 @@ class FragmentClass extends android.app.Fragment {
} }
public toString(): string { public toString(): string {
return `${this.getTag()}<${this.entry ? this.entry.resolvedPage : ""}>`; return `${this.getTag()}<${(this.entry && this.entry.resolvedPage) ? this.entry.resolvedPage : ""}>`;
} }
} }