Skip to content

Commit 97bb4bb

Browse files
authored
Merge pull request #433 from dgmachado/bugfix/android-tab-style-not-working
fix(android): TabStrip style for the unselected item is not working
2 parents 3f8bd89 + 73ff6de commit 97bb4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core-tabs/tab-navigation/index.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ export abstract class TabNavigation<T extends android.view.ViewGroup = any> exte
587587
if (!tabStripItem.nativeViewProtected) {
588588
return;
589589
}
590-
const itemColor = tabStripItem.index === this.selectedIndex ? this.mSelectedItemColor : tabStripItem.style.color || this.mUnSelectedItemColor;
590+
const itemColor = tabStripItem.index === this.selectedIndex ? this.mSelectedItemColor : this.mUnSelectedItemColor || tabStripItem.style.color;
591591
// set label color
592592
if (itemColor) {
593593
tabStripItem.nativeViewProtected.setTextColor(itemColor.android || null);

0 commit comments

Comments
 (0)