Various fixes

This commit is contained in:
Ilya Laktyushin
2023-02-09 21:08:14 +04:00
parent f441343f4c
commit c53d7a1401
9 changed files with 38 additions and 26 deletions

View File

@@ -776,10 +776,10 @@ final class InstantPageControllerNode: ASDisplayNode, UIScrollViewDelegate {
} else {
maxBarHeight = containerLayout.safeInsets.top + 34.0
}
minBarHeight = containerLayout.safeInsets.top + 8.0
minBarHeight = containerLayout.safeInsets.top + 8.0 + 20.0
} else {
maxBarHeight = (containerLayout.statusBarHeight ?? 0.0) + 44.0
minBarHeight = 20.0
minBarHeight = (containerLayout.statusBarHeight ?? 20.0) + 20.0
}
var pageProgress: CGFloat = 0.0