disable videofeed inj

This commit is contained in:
gdlbo
2022-06-29 15:39:50 +03:00
parent a4cc33d3ce
commit 6fe72ebb9f
3 changed files with 16 additions and 0 deletions
@@ -134,6 +134,10 @@ public class Preferences{
return getBoolValue("adsstories", false);
}
public static boolean videofeed(){
return getBoolValue("__dbg_disable_video_feed", false);
}
public static boolean alteremoji(boolean istablet){
return alteremojipref() ? alteremojipref() : istablet;
}
@@ -4385,6 +4385,12 @@
if-eqz p2, :cond_5
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->videofeed()Z
move-result v0
if-nez v0, :cond_5
.line 13
new-instance p2, Lcom/vk/libvideo/dialogs/VideoFeedDialog;
@@ -261,6 +261,12 @@
:cond_0
if-eqz p2, :cond_1
invoke-static {}, Lru/vtosters/lite/utils/Preferences;->videofeed()Z
move-result v0
if-nez v0, :cond_1
.line 3
new-instance p2, Lcom/vk/libvideo/dialogs/VideoFeedDialog;