Skip to content

Commit

Permalink
Do not setTag to bottomTabs if testId is null (#4935)
Browse files Browse the repository at this point in the history
Fixes #4812
  • Loading branch information
EliSadaka authored and guyca committed Apr 1, 2019
1 parent e954a41 commit 9126ced
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 9126ced

Please sign in to comment.