1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-04-26 08:41:25 +00:00

make main page changes display emediatly

This commit is contained in:
Christian Schabesberger
2017-10-13 13:49:31 +02:00
parent 8e8d74b5b7
commit 23eeb4353d
5 changed files with 12 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import org.schabi.newpipe.extractor.StreamingService;
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
import org.schabi.newpipe.report.ErrorActivity;
import org.schabi.newpipe.report.UserAction;
import org.schabi.newpipe.util.Constants;
import org.schabi.newpipe.util.KioskTranslator;
public class ContentSettingsFragment extends BasePreferenceFragment {
@@ -88,6 +89,8 @@ public class ContentSettingsFragment extends BasePreferenceFragment {
mainPageContentPref.setSummary(getMainPageSummeryByKey(newValue));
}
defaultPreferences.edit().putBoolean(Constants.KEY_MAIN_PAGE_CHANGE, true).apply();
return true;
}
});