Link preview update

This commit is contained in:
Ali
2020-06-05 21:50:50 +04:00
parent db5ba5b97c
commit f529ec0793
37 changed files with 2500 additions and 2372 deletions

View File

@@ -324,7 +324,7 @@ public final class AuthorizationSequenceController: NavigationController, MFMail
}).start()
})]), on: .root, blockInteraction: false, completion: {})
})
], actionLayout: .vertical)
], actionLayout: .vertical, dismissOnOutsideTap: true)
contentNode.textAttributeAction = (NSAttributedString.Key(rawValue: TelegramTextAttributes.URL), { value in
if let value = value as? String {
strongSelf.openUrl(value)