diff --git a/lib/android/app/src/main/java/com/reactnativenavigation/presentation/BottomTabPresenter.java b/lib/android/app/src/main/java/com/reactnativenavigation/presentation/BottomTabPresenter.java index 18b953d8be3..8502c4870e8 100644 --- a/lib/android/app/src/main/java/com/reactnativenavigation/presentation/BottomTabPresenter.java +++ b/lib/android/app/src/main/java/com/reactnativenavigation/presentation/BottomTabPresenter.java @@ -54,7 +54,7 @@ public void applyOptions() { bottomTabs.setTitleInactiveColor(i, tab.textColor.get(null)); bottomTabs.setTitleInactiveTextSizeInSp(i, tab.fontSize.hasValue() ? Float.valueOf(tab.fontSize.get()) : null); bottomTabs.setTitleActiveTextSizeInSp(i, tab.selectedFontSize.hasValue() ? Float.valueOf(tab.selectedFontSize.get()) : null); - bottomTabs.setTag(i, tab.testId.get(null)); + if (tab.testId.hasValue()) bottomTabs.setTag(i, tab.testId.get()); } }