mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Stories
This commit is contained in:
@@ -2425,7 +2425,18 @@ public final class EntityInputView: UIInputView, AttachmentTextInputPanelInputVi
|
||||
replaceImpl?(controller)
|
||||
})
|
||||
replaceImpl = { [weak controller] c in
|
||||
controller?.replace(with: c)
|
||||
guard let controller else {
|
||||
return
|
||||
}
|
||||
if controller.navigationController != nil {
|
||||
controller.replace(with: c)
|
||||
} else {
|
||||
controller.dismiss()
|
||||
|
||||
if let self {
|
||||
self.presentController?(c)
|
||||
}
|
||||
}
|
||||
}
|
||||
strongSelf.presentController?(controller)
|
||||
}), elevatedLayout: false, animateInAsReplacement: false, action: { _ in return false }))
|
||||
|
||||
Reference in New Issue
Block a user