Skip to content

Commit 5744ed4

Browse files
committed
fox(bottom-navigation): android crash when no tabstrip
1 parent d129017 commit 5744ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bottom-navigation/index.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class BottomNavigation extends TabNavigation<com.nativescript.material.co
8686
public onLoaded(): void {
8787
super.onLoaded();
8888

89-
if (!this.tabStrip) {
89+
if (!this.tabStrip && this.mTabsBar) {
9090
// manually set the visibility, so that the grid layout remeasures
9191
this.mTabsBar.setVisibility(android.view.View.GONE);
9292
}

0 commit comments

Comments
 (0)