Folder improvements

This commit is contained in:
Ali
2020-03-20 15:18:57 +04:00
parent ceccb98af7
commit 752fb745d3
7 changed files with 214 additions and 12 deletions

View File

@@ -341,7 +341,7 @@ private final class ChatListContainerItemNode: ASDisplayNode {
if strongSelf.emptyShimmerEffectNode == nil {
let emptyShimmerEffectNode = ChatListShimmerNode()
strongSelf.emptyShimmerEffectNode = emptyShimmerEffectNode
strongSelf.addSubnode(emptyShimmerEffectNode)
strongSelf.insertSubnode(emptyShimmerEffectNode, belowSubnode: strongSelf.listNode)
if let (size, insets, _) = strongSelf.validLayout, let offset = strongSelf.floatingHeaderOffset {
strongSelf.layoutEmptyShimmerEffectNode(node: emptyShimmerEffectNode, size: size, insets: insets, verticalOffset: offset, transition: .immediate)
}