1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-22 21:16:57 +00:00

Set tabOrderString value with default graph names when its empty

This commit is contained in:
Ammar Githam 2021-04-03 20:48:21 +09:00
parent e2c15e76b8
commit c5786a6843

View File

@ -476,6 +476,7 @@ public final class Utils {
final List<String> top5navGraphNames = navGraphNameList.subList(0, 5);
final String newOrderString = android.text.TextUtils.join(",", top5navGraphNames);
Utils.settingsHelper.putString(PreferenceKeys.PREF_TAB_ORDER, newOrderString);
tabOrderString = newOrderString;
return top5navGraphNames;
}
// Make sure that the list from preference does not contain any invalid values