Skip to content

Commit

Permalink
fix: updated reading indicator color check (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom authored Jun 20, 2020
1 parent 4950acb commit 36b55a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flashy/item/FlashyTabBarItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const FlashyTabBarItemComponent = (props: FlashyTabBarItemProps) => {
return {
indicatorVisibility: _indicatorVisible ?? DEFAULT_INDICATOR_VISIBILITY,
indicatorColor:
_indicatorColor ?? labelStyleOverride.color ?? DEFAULT_INDICATOR_COLOR,
_indicatorColor ?? labelStyleOverride?.color ?? DEFAULT_INDICATOR_COLOR,
indicatorSize: _indicatorSize ?? DEFAULT_INDICATOR_SIZE,
};
}, [_indicatorVisible, _indicatorColor, _indicatorSize, labelStyleOverride]);
Expand Down

0 comments on commit 36b55a7

Please sign in to comment.