settingsfehler entfernt
This commit is contained in:
parent
7f08562298
commit
a35b38306d
@ -121,14 +121,9 @@ public class SettingsFragment extends NamedFragment {
|
||||
});
|
||||
}
|
||||
|
||||
binding.settingsScreenSecurity.setChecked(SettingsUtil.isScreenSecurity(requireContext()));
|
||||
binding.settingsScreenSecurity.setOnCheckedChangeListener((view, checked) -> {
|
||||
SettingsUtil.setScreenSecurity(requireContext(), checked);
|
||||
requireActivity().recreate();
|
||||
});
|
||||
|
||||
binding.settingsHideCodes.setChecked(SettingsUtil.isHideCodes(requireContext()));
|
||||
binding.settingsHideCodes.setOnCheckedChangeListener((view, checked) -> SettingsUtil.setHideCodes(requireContext(), checked));
|
||||
|
||||
|
||||
|
||||
binding.settingsShowImages.setChecked(SettingsUtil.isShowImages(requireContext()));
|
||||
binding.settingsShowImages.setOnCheckedChangeListener((view, checked) -> SettingsUtil.setShowImages(requireContext(), checked));
|
||||
|
Loading…
Reference in New Issue
Block a user