mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-17 21:47:37 +00:00
Set boolean when toggling
This commit is contained in:
parent
d7eeef2c8a
commit
f1ca21678d
@ -272,6 +272,7 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
||||
((SwitchPreference) preference).setChecked(!checked);
|
||||
FingerprintHelper.showAuthDialog(requireActivity(), () -> {
|
||||
((SwitchPreference) preference).setChecked(checked);
|
||||
Data.suFingerprint = checked;
|
||||
mm.mDB.setSettings(key, checked ? 1 : 0);
|
||||
});
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user