Make notifs settings more consistent
This commit is contained in:
parent
4650e3d679
commit
06f4ab7037
|
@ -105,7 +105,8 @@ public class SettingsFragment extends PreferenceFragment implements OnPreference
|
||||||
final String preferenceKey = preference.getKey();
|
final String preferenceKey = preference.getKey();
|
||||||
|
|
||||||
if (preferenceKey.equals(Constants.SPOTLIGHT_NOTIFS_ENABLE)) {
|
if (preferenceKey.equals(Constants.SPOTLIGHT_NOTIFS_ENABLE)) {
|
||||||
SettingsManager.setSpotlightNotifsEnabled(getActivity(), true);
|
mNotifsPreference.setChecked(SettingsManager.isSpotlightNotifsEnabled(getActivity()));
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (preferenceKey.equals(Constants.SPOTLIGHT_BRIGHTNESS)) {
|
if (preferenceKey.equals(Constants.SPOTLIGHT_BRIGHTNESS)) {
|
||||||
|
|
Loading…
Reference in a new issue