We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3d7aa commit 8bbe7b8Copy full SHA for 8bbe7b8
src/bottom-navigation/index.android.ts
@@ -903,6 +903,9 @@ export class BottomNavigation extends TabNavigationBase {
903
904
private setIconColor(tabStripItem: TabStripItem, color?: Color) {
905
const tabBarItem = this._bottomNavigationBar.getViewForItemAt(tabStripItem._index);
906
+ if (!tabBarItem) {
907
+ return;
908
+ }
909
910
const drawableInfo = this.getIconInfo(tabStripItem, color);
911
const imgView = tabBarItem.getChildAt(0) as android.widget.ImageView;
0 commit comments