mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix issues in old channels revoke UI
This commit is contained in:
@@ -418,6 +418,9 @@ open class ItemListControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
}
|
||||
|
||||
if let searchNode = self.searchNode {
|
||||
var layout = layout
|
||||
layout = layout.addedInsets(insets: additionalInsets)
|
||||
|
||||
searchNode.updateLayout(layout: layout, navigationBarHeight: navigationBarHeight, transition: transition)
|
||||
}
|
||||
|
||||
@@ -652,7 +655,6 @@ open class ItemListControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
emptyStateNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.2, removeOnCompletion: false, completion: { [weak emptyStateNode] _ in
|
||||
emptyStateNode?.removeFromSupernode()
|
||||
})
|
||||
self.listNode.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
|
||||
self.emptyStateNode = nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user