Make notifs settings more consistent

This commit is contained in:
Peter Cai 2023-04-26 14:38:20 -04:00
parent 4650e3d679
commit 06f4ab7037
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ public class SettingsFragment extends PreferenceFragment implements OnPreference
final String preferenceKey = preference.getKey();
if (preferenceKey.equals(Constants.SPOTLIGHT_NOTIFS_ENABLE)) {
SettingsManager.setSpotlightNotifsEnabled(getActivity(), true);
mNotifsPreference.setChecked(SettingsManager.isSpotlightNotifsEnabled(getActivity()));
return false;
}
if (preferenceKey.equals(Constants.SPOTLIGHT_BRIGHTNESS)) {