From b7a9165d28d5c4224c524015a59d6e8305f6ed2c Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 6 Apr 2022 23:50:34 +0400 Subject: [PATCH] Web app improvements --- submodules/WebUI/Sources/WebAppController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/WebUI/Sources/WebAppController.swift b/submodules/WebUI/Sources/WebAppController.swift index ce5a84a47f..a835e87752 100644 --- a/submodules/WebUI/Sources/WebAppController.swift +++ b/submodules/WebUI/Sources/WebAppController.swift @@ -149,7 +149,7 @@ public final class WebAppController: ViewController, AttachmentContainable { } }) - if let url = controller.url { + if let url = controller.url, !controller.fromMenu { self.queryId = controller.queryId if let parsedUrl = URL(string: url) { self.webView?.load(URLRequest(url: parsedUrl))