Skip to content

Commit

Permalink
make dotIndicator to respect visible value (#5884)
Browse files Browse the repository at this point in the history
In Android dotIndicator with initial value of visible: false is not respected and the dot appears in any case.

Co-authored-by: Guy Carmeli <[email protected]>
  • Loading branch information
itsam and guyca authored Jan 29, 2020
1 parent c5bd577 commit d9bd03f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public void onComplete(@NonNull Drawable drawable) {
}

private void applyDotIndicator(int tabIndex, DotIndicatorOptions dotIndicator) {
if(dotIndicator.visible.isFalse()) return;
AHNotification.Builder builder = new AHNotification.Builder()
.setText("")
.setBackgroundColor(dotIndicator.color.get(null))
Expand Down

0 comments on commit d9bd03f

Please sign in to comment.