some fixes
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -4437,5 +4437,7 @@
|
||||
|
||||
<string name="videodownloaderr">Данное видео невозможно скачать</string>
|
||||
|
||||
<string name="roundedmsgs">Круглые сообщения</string>
|
||||
|
||||
<string name="empty_text" />
|
||||
</resources>
|
||||
|
||||
@@ -4571,6 +4571,8 @@ May look like a fake leaving the online"</string>
|
||||
|
||||
<string name="videodownloaderr">This video cannot be downloaded</string>
|
||||
|
||||
<string name="roundedmsgs">Rounded messages</string>
|
||||
|
||||
<item type="string" name="APKTOOL_DUMMY_10be" />
|
||||
<item type="string" name="APKTOOL_DUMMY_10bf" />
|
||||
<item type="string" name="APKTOOL_DUMMY_10c0" />
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
android:key="msgtails"
|
||||
android:summary="@string/messages_interface_tails_summary"
|
||||
android:title="@string/vtlmsgtails" />
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="calls"
|
||||
android:summary="@string/messages_interface_calls_summary"
|
||||
android:title="@string/vtlcalls" />
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="usevkui"
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory android:title="@string/vtlinterfacemsg">
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="calls"
|
||||
android:summary="@string/messages_interface_calls_summary"
|
||||
android:title="@string/vtlcalls" />
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="voice"
|
||||
@@ -14,7 +9,7 @@
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="roundedmsgs"
|
||||
android:title="Круглые сообщения" />
|
||||
android:title="@string/roundedmsgs" />
|
||||
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/interfaceemoji">
|
||||
|
||||
Reference in New Issue
Block a user