fixes
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user