Skip to content

Commit

Permalink
fixed reading si_enabled attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
zagum committed Mar 23, 2017
1 parent 71ed871 commit 4797970
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public SwitchIconView(@NonNull Context context, @Nullable AttributeSet attrs, in
animationDuration = array.getInteger(R.styleable.SwitchIconView_si_animation_duration, DEFAULT_ANIMATION_DURATION);
disabledStateAlpha = array.getFloat(R.styleable.SwitchIconView_si_disabled_alpha, DEFAULT_DISABLED_ALPHA);
disabledStateColor = array.getColor(R.styleable.SwitchIconView_si_disabled_color, iconTintColor);
enabled = array.getBoolean(R.styleable.SwitchIconView_si_disabled_alpha, true);
enabled = array.getBoolean(R.styleable.SwitchIconView_si_enabled, true);
noDash = array.getBoolean(R.styleable.SwitchIconView_si_no_dash, false);
} finally {
array.recycle();
Expand Down

0 comments on commit 4797970

Please sign in to comment.