Skip to content

Commit

Permalink
avoid calling multiple times the check changed listener
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda committed Jun 6, 2016
1 parent bf0a623 commit 18c6b6b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ private void init() {
}

public void setSelectedMode(@Mode int mode) {
modeGroup.clearCheck();
modeGroup.check(mode == LOG_IN ? R.id.com_auth0_lock_mode_log_in : R.id.com_auth0_lock_mode_sign_up);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
style="@style/Lock.Theme.Text.ModeSwitcher"
android:layout_marginLeft="2dp"
android:background="@drawable/com_auth0_lock_radio_button_left_background"
android:checked="true"
android:text="@string/com_auth0_lock_action_log_in" />

<RadioButton
Expand Down

0 comments on commit 18c6b6b

Please sign in to comment.