parent
1711682322
commit
875b235e6d
|
@ -176,6 +176,8 @@ public class SettingsBehaviorFragment extends BaseSettingsFragment<Void> impleme
|
||||||
GlobalUserPreferences.allowRemoteLoading=remoteLoadingItem.checked;
|
GlobalUserPreferences.allowRemoteLoading=remoteLoadingItem.checked;
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
AccountLocalPreferences lp=getLocalPrefs();
|
AccountLocalPreferences lp=getLocalPrefs();
|
||||||
|
boolean restartPlease=lp.showBoosts!=showBoostsItem.checked
|
||||||
|
|| lp.showReplies!=showRepliesItem.checked;
|
||||||
lp.showBoosts=showBoostsItem.checked;
|
lp.showBoosts=showBoostsItem.checked;
|
||||||
lp.showReplies=showRepliesItem.checked;
|
lp.showReplies=showRepliesItem.checked;
|
||||||
lp.save();
|
lp.save();
|
||||||
|
@ -186,6 +188,7 @@ public class SettingsBehaviorFragment extends BaseSettingsFragment<Void> impleme
|
||||||
s.preferences.postingDefaultLanguage=newPostLanguage.language.getLanguage();
|
s.preferences.postingDefaultLanguage=newPostLanguage.language.getLanguage();
|
||||||
s.savePreferencesLater();
|
s.savePreferencesLater();
|
||||||
}
|
}
|
||||||
|
if(restartPlease) getActivity().recreate();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue