Various fixes

This commit is contained in:
Ilya Laktyushin
2023-06-25 14:58:41 +02:00
parent f319c0fe76
commit 6ba424f13d
6 changed files with 89 additions and 37 deletions

View File

@@ -1126,6 +1126,9 @@ public final class ChatListContainerNode: ASDisplayNode, UIGestureRecognizerDele
guard let strongSelf = self, strongSelf.availableFilters.count > 1 || strongSelf.controller?.isStoryPostingAvailable == true else {
return []
}
guard case .chatList(.root) = strongSelf.location else {
return []
}
switch strongSelf.currentItemNode.visibleContentOffset() {
case let .known(value):
if value < -strongSelf.currentItemNode.tempTopInset {