mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 05:52:47 +00:00
fix contacts access being asked when turning setting off instead of when turning on
This commit is contained in:
parent
595e7ab680
commit
e5b82b53c4
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public final class SpellCheckerSettingsFragment extends SubScreenFragment
|
|||
|
||||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
|
||||
if (!TextUtils.equals(key, Settings.PREF_USE_CONTACTS) || sharedPreferences.getBoolean(key, false)) {
|
||||
if (!TextUtils.equals(key, Settings.PREF_USE_CONTACTS) || !sharedPreferences.getBoolean(key, false)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue