mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-25 01:20:34 +00:00
Revert "Revert "Changed the default preferences to show trending.""
This reverts commit b441665
This commit is contained in:
parent
01abc244b1
commit
fce17aa1d4
@ -205,7 +205,7 @@ public class MainFragment extends BaseFragment implements TabLayout.OnTabSelecte
|
|||||||
private void getTabOrder() {
|
private void getTabOrder() {
|
||||||
tabs.clear();
|
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");
|
String tabsArray[] = save.trim().split("\n");
|
||||||
|
|
||||||
Collections.addAll(tabs, tabsArray);
|
Collections.addAll(tabs, tabsArray);
|
||||||
|
Loading…
Reference in New Issue
Block a user