diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java b/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java index 2e06e3b75..75808a388 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/SharedConfig.java @@ -308,7 +308,7 @@ public class SharedConfig { public static boolean nextMediaTap = true; public static boolean recordViaSco = false; public static boolean customTabs = true; - public static boolean inappBrowser = true; + public static boolean inappBrowser = false; public static boolean adaptableColorInBrowser = true; public static boolean directShare = true; public static boolean inappCamera = true; @@ -651,7 +651,7 @@ public class SharedConfig { nextMediaTap = preferences.getBoolean("next_media_on_tap", true); recordViaSco = preferences.getBoolean("record_via_sco", false); customTabs = preferences.getBoolean("custom_tabs", true); - inappBrowser = preferences.getBoolean("inapp_browser", true); + inappBrowser = preferences.getBoolean("inapp_browser", false); adaptableColorInBrowser = preferences.getBoolean("adaptableBrowser", false); directShare = preferences.getBoolean("direct_share", true); shuffleMusic = preferences.getBoolean("shuffleMusic", false); diff --git a/TMessagesProj/src/main/java/org/telegram/ui/web/BotWebViewContainer.java b/TMessagesProj/src/main/java/org/telegram/ui/web/BotWebViewContainer.java index b484e74ea..ffb47bfe3 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/web/BotWebViewContainer.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/web/BotWebViewContainer.java @@ -362,7 +362,7 @@ public abstract class BotWebViewContainer extends FrameLayout implements Notific settings.setUseWideViewPort(true); settings.setLoadWithOverviewMode(true); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { - settings.setSafeBrowsingEnabled(true); + settings.setSafeBrowsingEnabled(false); } }