mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +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…
Reference in New Issue
Block a user