mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Property renamed and bug fixes
This commit is contained in:
@@ -347,7 +347,7 @@ export class TabView extends common.TabView {
|
||||
|
||||
public _addTabs(newItems: Array<definition.TabViewItem>) {
|
||||
var parentPage = <page.Page>view.getAncestor(this, "Page");
|
||||
if (parentPage && parentPage.navigationBarHidden) {
|
||||
if (parentPage && parentPage.actionBarHidden) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -424,7 +424,7 @@ export class TabView extends common.TabView {
|
||||
|
||||
public _removeTabs(oldItems: Array<definition.TabViewItem>) {
|
||||
var parentPage = <page.Page>view.getAncestor(this, "Page");
|
||||
if (parentPage && parentPage.navigationBarHidden) {
|
||||
if (parentPage && parentPage.actionBarHidden) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user