diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 0f6e1d3e4f..bfd9d0aceb 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -9916,8 +9916,6 @@ Sorry for the inconvenience."; "WebApp.DisclaimerTitle" = "Terms of Use"; "WebApp.DisclaimerText" = "You are about to use a mini app operated by an independent party not affiliated with Telegram. You must agree to the Terms of Use of mini apps to continue."; -"WebApp.DisclaimerShortcutsText" = "**%@** shortcut will be added in your attachment menu."; -"WebApp.DisclaimerShortcutsSettingsText" = "**%@** shortcuts will be added in your attachment menu and Settings."; "WebApp.DisclaimerAgree" = "I agree to the [Terms of Use]()"; "WebApp.DisclaimerContinue" = "Continue"; "WebApp.Disclaimer_URL" = "https://telegram.org/tos/mini-apps"; diff --git a/submodules/WebUI/Sources/WebAppTermsAlertController.swift b/submodules/WebUI/Sources/WebAppTermsAlertController.swift index 766ab47053..bbd5d81864 100644 --- a/submodules/WebUI/Sources/WebAppTermsAlertController.swift +++ b/submodules/WebUI/Sources/WebAppTermsAlertController.swift @@ -374,14 +374,7 @@ public func webAppTermsAlertController( let title = presentationData.strings.WebApp_DisclaimerTitle let text = presentationData.strings.WebApp_DisclaimerText - let additionalText: String? - if bot.flags.contains(.showInSettings) { - additionalText = presentationData.strings.WebApp_DisclaimerShortcutsSettingsText(bot.peer.compactDisplayTitle).string - } else if bot.flags.contains(.showInAttachMenu) { - additionalText = presentationData.strings.WebApp_DisclaimerShortcutsText(bot.peer.compactDisplayTitle).string - } else { - additionalText = nil - } + let additionalText: String? = nil let contentNode = WebAppTermsAlertContentNode(context: context, theme: AlertControllerTheme(presentationData: presentationData), ptheme: theme, strings: strings, title: title, text: text, additionalText: additionalText, actions: actions) contentNode.openTerms = {