1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-19 00:04:56 +00:00

Fixed revert

This commit is contained in:
Somethingweirdhere 2018-06-28 15:13:24 +02:00 committed by Christian Schabesberger
parent fce17aa1d4
commit 57d6c97203

View File

@ -92,7 +92,7 @@ public class ChoseTabsFragment extends Fragment {
} }
private void initUsedTabs() { private void initUsedTabs() {
String save = android.preference.PreferenceManager.getDefaultSharedPreferences(getContext()).getString("saveUsedTabs", "1\n2\n4\n"); String save = android.preference.PreferenceManager.getDefaultSharedPreferences(getContext()).getString("saveUsedTabs", "1\tTrending\t0\n2\n4\n");
String tabs[] = save.trim().split("\n"); String tabs[] = save.trim().split("\n");
selectedTabs.addAll(Arrays.asList(tabs)); selectedTabs.addAll(Arrays.asList(tabs));
} }