default prefs + fix default fragment

This commit is contained in:
gdlbo
2022-07-26 19:09:38 +03:00
parent f871e63002
commit eaed8fc752
5 changed files with 15 additions and 15 deletions
@@ -97,7 +97,7 @@ public class DockBarInjector {
add.setTitle(getContext().getString(tab.titleID));
add.setCheckable(true);
}
if (getBoolValue("dockbar_tab_titles", false)) {
if (getBoolValue("dockbar_tab_titles", true)) {
var menuView = (BottomNavigationMenuView) navigationView.getChildAt(0);
for (int i = 0; i < menuView.getChildCount(); i++) {
var item = (com.vtosters.lite.ui.bottomnavigation.BottomNavigationItemView) menuView.getChildAt(i);
@@ -102,11 +102,11 @@ public class Preferences{
}
public static boolean ads(){
return getBoolValue("__dbg_no_ads", false);
return getBoolValue("__dbg_no_ads", true);
}
public static boolean adsgroup(){
return getBoolValue("adsgroup", false);
return getBoolValue("adsgroup", true);
}
public static boolean vkme(){
@@ -114,11 +114,11 @@ public class Preferences{
}
public static boolean adsslider(){
return getBoolValue("__dbg_no_slider_ads", false);
return getBoolValue("__dbg_no_slider_ads", true);
}
public static boolean adsstories(){
return getBoolValue("adsstories", false);
return getBoolValue("adsstories", true);
}
public static boolean videofeed(){
@@ -207,7 +207,7 @@ public class Preferences{
}
public static boolean milkshake(){
return getBoolValue("milkshake", false);
return getBoolValue("milkshake", true);
}
public static boolean musicnewcatalog(){