mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Various fixes
This commit is contained in:
parent
e4b8c40133
commit
d7abd64ac4
@ -469,9 +469,12 @@ public final class NavigationContainer: ASDisplayNode, UIGestureRecognizerDelega
|
||||
case .push:
|
||||
if let _ = strongSelf.state.transition, let top = strongSelf.state.top, viewTreeContainsFirstResponder(view: top.value.view) {
|
||||
strongSelf.syncKeyboard(leftEdge: topFrame.minX, transition: transition)
|
||||
} else {
|
||||
if let hasActiveInput = strongSelf.state.top?.value.hasActiveInput, hasActiveInput {
|
||||
} else {
|
||||
strongSelf.syncKeyboard(leftEdge: topFrame.minX - bottomFrame.width, transition: transition)
|
||||
}
|
||||
}
|
||||
case .pop:
|
||||
strongSelf.syncKeyboard(leftEdge: topFrame.minX, transition: transition)
|
||||
}
|
||||
|
@ -283,8 +283,6 @@ public final class MediaGroupsScreen: ViewController {
|
||||
|
||||
func updatePresentationData(_ presentationData: PresentationData) {
|
||||
self.presentationData = presentationData
|
||||
|
||||
self.backgroundColor = presentationData.theme.list.plainBackgroundColor
|
||||
}
|
||||
|
||||
private func enqueueTransaction(_ transaction: MediaGroupsTransition) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user