mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Merge commit '64f54c625ce09a0f7385efe553b952c8459c373e'
This commit is contained in:
@@ -314,7 +314,11 @@ public final class WalletSplashScreen: ViewController {
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
strongSelf.context.sharedContext.openExternalUrl(context: strongSelf.context, urlContext: .generic, url: "https://telegram.org", forceExternal: true, presentationData: strongSelf.presentationData, navigationController: strongSelf.navigationController as? NavigationController, dismissInput: {})
|
||||
var url = strongSelf.presentationData.strings.Wallet_Intro_TermsUrl
|
||||
if url.isEmpty {
|
||||
url = "https://telegram.org/tos/wallet"
|
||||
}
|
||||
strongSelf.context.sharedContext.openExternalUrl(context: strongSelf.context, urlContext: .generic, url: url, forceExternal: true, presentationData: strongSelf.presentationData, navigationController: strongSelf.navigationController as? NavigationController, dismissInput: {})
|
||||
})
|
||||
|
||||
self.displayNodeDidLoad()
|
||||
|
||||
Reference in New Issue
Block a user