FIX: disappearing navigation bar on back

This commit is contained in:
vakrilov
2017-01-27 15:00:16 +02:00
parent 3770f7e636
commit 00589c801d

View File

@ -573,7 +573,7 @@ export class Page extends PageBase {
}
public _addViewToNativeVisualTree(view: View): boolean {
// ActionBar is added to the native visual tree by default
// ActionBar is handled by the UINavigationController
if (view === this.actionBar) {
return true;
}
@ -581,6 +581,15 @@ export class Page extends PageBase {
return super._addViewToNativeVisualTree(view);
}
public _removeViewFromNativeVisualTree(view: View): void {
// ActionBar is handled by the UINavigationController
if (view === this.actionBar) {
return;
}
super._removeViewFromNativeVisualTree(view);
}
get [actionBarHiddenProperty.native](): boolean {
return undefined;
}