mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Hide history navigation buttons when recording
This commit is contained in:
parent
3e6acb4abe
commit
91a4a328ff
@ -1865,6 +1865,12 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
self.emptyNode?.isHidden = false
|
||||
}
|
||||
|
||||
var showNavigateButtons = true
|
||||
if let _ = chatPresentationInterfaceState.inputTextPanelState.mediaRecordingState {
|
||||
showNavigateButtons = false
|
||||
}
|
||||
transition.updateAlpha(node: self.navigateButtons, alpha: showNavigateButtons ? 1.0 : 0.0)
|
||||
|
||||
if let openStickersDisposable = self.openStickersDisposable {
|
||||
if case .media = chatPresentationInterfaceState.inputMode {
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user