mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various Fixes
This commit is contained in:
@@ -231,6 +231,9 @@ public final class PermissionController: ViewController {
|
||||
self.controllerNode.allow = { [weak self] in
|
||||
self?.allow?()
|
||||
}
|
||||
self.controllerNode.dismiss = { [weak self] in
|
||||
self?.dismiss()
|
||||
}
|
||||
self.controllerNode.openPrivacyPolicy = { [weak self] in
|
||||
if let strongSelf = self {
|
||||
strongSelf.context.sharedContext.openExternalUrl(context: strongSelf.context, urlContext: .generic, url: "https://telegram.org/privacy", forceExternal: true, presentationData: strongSelf.context.sharedContext.currentPresentationData.with { $0 }, navigationController: nil, dismissInput: {})
|
||||
|
||||
Reference in New Issue
Block a user