From 7eeb1c3bf2d670481949473c6ae512c3a4ee3713 Mon Sep 17 00:00:00 2001
From: gdlbo <41114720+gdlbo@users.noreply.github.com>
Date: Wed, 29 Jun 2022 13:49:43 +0300
Subject: [PATCH] fixed msgs
---
app/src/main/java/ru/vtosters/lite/utils/Toggles.java | 7 +------
smali/res/xml/preferences_interface.xml | 4 ----
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/app/src/main/java/ru/vtosters/lite/utils/Toggles.java b/app/src/main/java/ru/vtosters/lite/utils/Toggles.java
index dcacf3500..b4ec7a1c1 100644
--- a/app/src/main/java/ru/vtosters/lite/utils/Toggles.java
+++ b/app/src/main/java/ru/vtosters/lite/utils/Toggles.java
@@ -5,7 +5,6 @@ import static ru.vtosters.lite.utils.Preferences.getBoolValue;
import static ru.vtosters.lite.utils.Preferences.milkshake;
import static ru.vtosters.lite.utils.Preferences.musicnewcatalog;
import static ru.vtosters.lite.utils.Preferences.postsredesign;
-import static ru.vtosters.lite.utils.Preferences.quic;
import static ru.vtosters.lite.utils.Preferences.superapp;
import com.vk.toggle.FeatureManager;
@@ -14,8 +13,7 @@ import com.vk.toggle.Features;
public class Toggles{
public static boolean shouldPatch(Features.Type feature) {
switch (feature) {
- case FEATURE_GQUIC_INTEGRATION:
- case FEATURE_GQUIC_BETA_TEST:
+ case AB_IM_LONGPOLL_MSG_BATCHING:
case AB_IM_LP_ATTACHES:
case AB_IM_VIEW_POOL:
case AB_MULTI_GIFTS:
@@ -142,9 +140,6 @@ public class Toggles{
case AB_IM_LP_ATTACHES:
case FEATURE_COMPACT_REPOST:
return postsredesign();
- case FEATURE_GQUIC_BETA_TEST:
- case FEATURE_GQUIC_INTEGRATION:
- return quic();
case FEATURE_IMAGE_QUALITY_UPGRADE:
return getBoolValue("compressPhotos", true);
default:
diff --git a/smali/res/xml/preferences_interface.xml b/smali/res/xml/preferences_interface.xml
index d55f77615..288002478 100644
--- a/smali/res/xml/preferences_interface.xml
+++ b/smali/res/xml/preferences_interface.xml
@@ -33,10 +33,6 @@
android:defaultValue="true"
android:key="postsredesign"
android:title="postsredesign" />
-