MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _getNavBarVisible

Method _getNavBarVisible

packages/core/ui/frame/index.android.ts:556–575  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

554 }
555
556 public _getNavBarVisible(page: Page): boolean {
557 switch (this.actionBarVisibility) {
558 case 'never':
559 return false;
560
561 case 'always':
562 return true;
563
564 default:
565 if (page.actionBarHidden !== undefined) {
566 return !page.actionBarHidden;
567 }
568
569 if (this._android && this._android.showActionBar !== undefined) {
570 return this._android.showActionBar;
571 }
572
573 return true;
574 }
575 }
576
577 public _restoreTransitionState(): void {
578 if (this._cachedTransitionState) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected