some fixes

This commit is contained in:
gdlbo
2022-06-08 19:32:29 +03:00
parent f42aa95003
commit e5fa42ff14
6 changed files with 14 additions and 11 deletions
@@ -127,7 +127,7 @@ public class Preferences {
}
public static boolean calls() {
return getBoolValue("calls", true);
return getBoolValue("calls", false);
}
public static boolean convUsersOnline() {
@@ -8,8 +8,7 @@ import static ru.vtosters.lite.utils.Preferences.dev;
import static ru.vtosters.lite.utils.Preferences.getLocale;
import static ru.vtosters.lite.utils.Preferences.vksans;
import static ru.vtosters.lite.utils.Proxy.proxy;
import com.vk.core.ui.themes.VKThemeHelper;
import static ru.vtosters.lite.utils.Themes.isDarkTheme;
public class SSFS {
public static String getSSFSLink() {
@@ -25,11 +24,11 @@ public class SSFS {
}
public static String getDarkVKUI() {
return !VKThemeHelper.d() ? "1" : "0";
return isDarkTheme() ? "1" : "0";
}
public static String getAmoledVKUI() {
return getPrefsValue("darktheme").equals("amoled") ? "1" : "0";
return getPrefsValue("darktheme").equals("amoled") && isDarkTheme() ? "1" : "0";
}
public static String getUserProxy() {