This commit is contained in:
gdlbo
2022-05-13 19:59:36 +03:00
parent e0450d3835
commit 888a1af9b4
3 changed files with 2 additions and 15 deletions
@@ -323,13 +323,11 @@ public class Preferences {
}
public static String VKVersion() {
String string = getPreferences().getString("vkver", "");
return !string.isEmpty() ? string : VKVER;
return VKVER;
}
public static int VKVersionBuild() {
String string = getPreferences().getString("vkbuild", "");
return !string.isEmpty() ? Integer.parseInt(string) : VKBUILD;
return VKBUILD;
}
public static long VKVersionBuildLong() {
-10
View File
@@ -95,15 +95,5 @@
android:key="benchmark"
android:summary="@string/benchapisummary"
android:title="@string/benchapi" />
<EditTextPreference
android:defaultValue="7.24"
android:key="vkver"
android:summary="Требуется перезапуск"
android:title="Подмена версии ВК" />
<EditTextPreference
android:defaultValue="12116"
android:key="vkbuild"
android:summary="Требуется перезапуск"
android:title="Подмена версии билда ВК" />
</PreferenceCategory>
</PreferenceScreen>
-1
View File
@@ -14,7 +14,6 @@
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="swipe"
android:summary="@string/interfacenewsfeedswipesum"
android:title="@string/interfacenewsfeedswipe" />
<com.vtosters.lite.ui.MaterialSectionDividerPreference />
</PreferenceCategory>