ServerDialog disabler

This commit is contained in:
gdlbo
2022-06-27 18:40:11 +03:00
parent 7068600d3d
commit e8753831b6
5 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -26722,7 +26722,7 @@ public final class R{
public static final int reportbugsumm = 0x7f12159f;
public static final int donaterecomm = 0x7f1215a7;
public static final int dialogrecomm = 0x7f1215a7;
public static final int officialnewssett = 0x7f1215e4;
@@ -37,6 +37,8 @@ public class ServerDialog{
public static Activity activity;
public static void sendRequest(){
if(getBoolValue("dialogrecomm", false)) return;
Request request = new Request.a()
.b("https://vtosters.app/dialog.json")
.a();
+1 -1
View File
@@ -5500,7 +5500,7 @@
<string name="shitpostingsummary">Фильтр очистки постов с РФ и действиями связанными на Украине</string>
<string name="showstories">Показывать истории</string>
<string name="showstoriessum">Блок истории в верхней части ленты</string>
<string name="donaterecomm">Отключить рекомендации о донате</string>
<string name="dialogrecomm">Отключить рекомендации</string>
<string name="showvtfire">Показывать специальные верификации</string>
<string name="showvtverify">Показывать верификации</string>
<string name="sprefsctype">Тип подключения</string>
+2 -2
View File
@@ -1688,7 +1688,7 @@ less often."</string>
<string name="live_network_error_description">Check your internet connection and try again</string>
<string name="live_paused">Stream paused</string>
<string name="live_profile">Profile</string>
<string name="live_recommendations">Рекомендации</string>
<string name="live_recommendations">Recommendations</string>
<string name="live_resumed">Resume</string>
<string name="live_retry">Retry</string>
<string name="live_send_gift">Send gift</string>
@@ -5652,7 +5652,7 @@ You need to restart the application to apply proxy settings"</string>
<string name="shitpostingsummary">Filter for cleaning posts with the Russian Federation and actions related in Ukraine</string>
<string name="showstories">Show stories</string>
<string name="showstoriessum">The story section at the top of the feed</string>
<string name="donaterecomm">Disable recommendations about donation</string>
<string name="dialogrecomm">Disable recommendations</string>
<string name="showvtfire">Show special verifications</string>
<string name="showvtverify">Show verifications</string>
<string name="sprefsctype">Connection type</string>
+4
View File
@@ -65,5 +65,9 @@
android:defaultValue="true"
android:key="VT_Fire"
android:title="@string/showvtfire" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="false"
android:key="dialogrecomm"
android:title="@string/dialogrecomm" />
</PreferenceCategory>
</PreferenceScreen>