dockbar fixes
This commit is contained in:
@@ -107,14 +107,14 @@ public class DockBarEditorManager {
|
|||||||
Globals.getPreferences().edit().putString("dockbar_tabs", mSelectedTabs.stream()
|
Globals.getPreferences().edit().putString("dockbar_tabs", mSelectedTabs.stream()
|
||||||
.map(tab -> tab.tag)
|
.map(tab -> tab.tag)
|
||||||
.collect(Collectors.joining(",")))
|
.collect(Collectors.joining(",")))
|
||||||
.apply();
|
.commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
Globals.getPreferences()
|
Globals.getPreferences()
|
||||||
.edit()
|
.edit()
|
||||||
.putString("dockbar_tabs", "tab_news,tab_superapps,tab_messages,tab_friends,tab_profile")
|
.putString("dockbar_tabs", "tab_news,tab_superapps,tab_messages,tab_friends,tab_profile")
|
||||||
.apply();
|
.commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<DockBarTab> getSelectedTabs() {
|
public List<DockBarTab> getSelectedTabs() {
|
||||||
|
|||||||
Reference in New Issue
Block a user