mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
Set tabOrderString value with default graph names when its empty
This commit is contained in:
parent
e2c15e76b8
commit
c5786a6843
@ -476,6 +476,7 @@ public final class Utils {
|
|||||||
final List<String> top5navGraphNames = navGraphNameList.subList(0, 5);
|
final List<String> top5navGraphNames = navGraphNameList.subList(0, 5);
|
||||||
final String newOrderString = android.text.TextUtils.join(",", top5navGraphNames);
|
final String newOrderString = android.text.TextUtils.join(",", top5navGraphNames);
|
||||||
Utils.settingsHelper.putString(PreferenceKeys.PREF_TAB_ORDER, newOrderString);
|
Utils.settingsHelper.putString(PreferenceKeys.PREF_TAB_ORDER, newOrderString);
|
||||||
|
tabOrderString = newOrderString;
|
||||||
return top5navGraphNames;
|
return top5navGraphNames;
|
||||||
}
|
}
|
||||||
// Make sure that the list from preference does not contain any invalid values
|
// Make sure that the list from preference does not contain any invalid values
|
||||||
|
Loading…
Reference in New Issue
Block a user