* Fix telemetry opt-out preference toggler
This commit is contained in:
Ashish 2020-10-12 15:01:48 +05:30 committed by GitHub
parent a85bd032a3
commit 4571b76b82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ public class SettingsFragment extends PreferenceFragmentCompat {
(preference, newValue) -> {
telemetryOptInOut((boolean)newValue);
defaultKvStore.putBoolean(Prefs.TELEMETRY_PREFERENCE,(boolean)newValue);
return false;
return true;
});
}