mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various Improvements
This commit is contained in:
@@ -207,7 +207,10 @@ public final class PermissionController: ViewController {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if case let .custom(icon, _, _, _, _, _, _) = state {
|
||||
if case .animation = icon, case .modal = self.navigationPresentation {
|
||||
self.navigationItem.leftBarButtonItem = UIBarButtonItem(customDisplayNode: ASDisplayNode())
|
||||
}
|
||||
self.allow = { [weak self] in
|
||||
if let strongSelf = self {
|
||||
strongSelf.proceed?(true)
|
||||
|
||||
Reference in New Issue
Block a user