Various improvements

This commit is contained in:
Isaac
2024-04-29 18:59:13 +04:00
parent 483737a5c6
commit bb404dbbd3
6 changed files with 35 additions and 6 deletions

View File

@@ -905,11 +905,7 @@ open class ItemListControllerNode: ASDisplayNode, ASGestureRecognizerDelegate {
if let validLayout = self.validLayout {
updatedNode.updateLayout(layout: validLayout.0, navigationBarHeight: validLayout.1, transition: .immediate)
}
if self.rightOverlayNode.supernode != nil {
self.insertSubnode(updatedNode, aboveSubnode: self.rightOverlayNode)
} else {
self.insertSubnode(updatedNode, aboveSubnode: self.listNode)
}
self.addSubnode(updatedNode)
updatedNode.activate()
}
} else {