mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various fixes
This commit is contained in:
@@ -277,6 +277,13 @@ extension ChatControllerImpl {
|
||||
}
|
||||
return EntityInputView(context: strongSelf.context, isDark: false, areCustomEmojiEnabled: strongSelf.presentationInterfaceState.customEmojiAvailable)
|
||||
})
|
||||
attachmentController.shouldMinimizeOnSwipe = { [weak attachmentController] button in
|
||||
if case .app = button {
|
||||
attachmentController?.convertToStandalone()
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
attachmentController.didDismiss = { [weak self] in
|
||||
self?.attachmentController = nil
|
||||
self?.canReadHistory.set(true)
|
||||
|
||||
Reference in New Issue
Block a user