Skip to content

Commit

Permalink
Invert PIN keyboard preference if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Aug 2, 2020
1 parent 874f5e9 commit 02e0172
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ public boolean onPreferenceClick(Preference preference) {
});

_pinKeyboardPreference = findPreference("pref_pin_keyboard");
_pinKeyboardPreference.setOnPreferenceChangeListener((preference, o) -> {
if ((boolean)o) {
_pinKeyboardPreference.setOnPreferenceChangeListener((preference, newValue) -> {
if (!(boolean) newValue) {
return true;
}

Expand Down

0 comments on commit 02e0172

Please sign in to comment.