1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Revert "Revert "Changed the default preferences to show trending.""

This reverts commit b441665
This commit is contained in:
Somethingweirdhere 2018-06-28 15:12:18 +02:00 committed by Christian Schabesberger
parent 01abc244b1
commit fce17aa1d4

View File

@ -205,7 +205,7 @@ public class MainFragment extends BaseFragment implements TabLayout.OnTabSelecte
private void getTabOrder() {
tabs.clear();
String save = prefs.getString("saveUsedTabs", "1\n2\n4\n");
String save = prefs.getString("saveUsedTabs", "1\tTrending\t0\n2\n4\n");
String tabsArray[] = save.trim().split("\n");
Collections.addAll(tabs, tabsArray);