Web app improvements

This commit is contained in:
Ilya Laktyushin
2022-04-03 21:18:00 +04:00
parent b939eade68
commit 6724ac9402
3 changed files with 25 additions and 19 deletions

View File

@@ -596,7 +596,7 @@ public class AttachmentController: ViewController {
}
let isEffecitvelyCollapsedUpdated = (self.selectionCount > 0) != (self.panel.isSelecting)
let panelHeight = self.panel.update(layout: containerLayout, buttons: self.controller?.buttons ?? [], isSelecting: self.selectionCount > 0, transition: !hasPanel && hasButton ? .immediate : transition)
let panelHeight = self.panel.update(layout: containerLayout, buttons: self.controller?.buttons ?? [], isSelecting: self.selectionCount > 0, transition: transition)
if hasPanel || hasButton {
containerInsets.bottom = panelHeight
}