deleted unused features

This commit is contained in:
gdlbo
2022-11-09 11:09:57 +03:00
parent 6bef2f1ea9
commit bf23cc7305
5 changed files with 7 additions and 25 deletions
@@ -120,8 +120,7 @@ public class NewsfeedHook {
hashSet.add("ads_app");
hashSet.add("ads_site");
hashSet.add("ads_post");
if (!adsslider())
hashSet.add("ads_app_slider");
hashSet.add("ads_app_slider");
hashSet.add("ads_site_slider");
hashSet.add("ads_app_video");
hashSet.add("ads_post_pretty_cards");
@@ -102,10 +102,6 @@ public class Preferences {
return getBoolValue("vkme", false);
}
public static boolean adsslider() {
return getBoolValue("__dbg_no_slider_ads", true);
}
public static boolean autocache() {
return getBoolValue("autocache", false);
}
@@ -231,10 +227,6 @@ public class Preferences {
return getBoolValue("offline", false);
}
public static boolean oldabout() {
return getBoolValue("oldabout", false);
}
public static boolean postsrecomm() {
return getBoolValue("postsrecomm", false);
}
+6 -6
View File
@@ -26,7 +26,7 @@
android:defaultValue="false"
android:key="podcastcatalog"
android:title="@string/podcastcatalog_title" />
<com.vtosters.lite.ui.MaterialSwitchPreference
<!-- <com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="false"
android:key="vksans"
android:title="@string/debug_experimental_vk_sans_font" />
@@ -40,11 +40,15 @@
android:entries="@array/language"
android:entryValues="@array/lang_value"
android:key="lang_value"
android:title="@string/debug_experimental_language" />
android:title="@string/debug_experimental_language" /> -->
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="useNewSettings"
android:title="@string/useNewSettings_title" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="promotedstickers"
android:title="@string/promotedstickers_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/vk_fix_music_other">
<com.vtosters.lite.ui.MaterialSwitchPreference
@@ -73,10 +77,6 @@
android:key="hasMusicSubscription"
android:summary="@string/debug_developer_has_music_subscription_summary"
android:title="@string/debug_developer_has_music_subscription" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="false"
android:key="oldabout"
android:title="@string/debug_developer_old_about" />
<EditTextPreference
android:defaultValue="https://vtsf.vknext.net"
android:key="ssfscustom"
-5
View File
@@ -11,11 +11,6 @@
android:key="adsgroup"
android:summary="@string/vtldgadssummary"
android:title="@string/vtldgads" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="__dbg_no_slider_ads"
android:summary="@string/feed_ads_carousel_summary"
android:title="@string/vtldca" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="adsstories"
-4
View File
@@ -63,10 +63,6 @@
android:key="systememoji"
android:summary="@string/systememojisum"
android:title="@string/systememoji" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="promotedstickers"
android:title="@string/promotedstickers_title" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/vtlother">
<com.vtosters.lite.ui.MaterialSwitchPreference