Various fixes

This commit is contained in:
Ilya Laktyushin
2022-04-14 03:20:29 +04:00
parent 97392afb9e
commit df2354e9bb
12 changed files with 93 additions and 79 deletions

View File

@@ -349,7 +349,7 @@ final class InstantPageControllerNode: ASDisplayNode, UIScrollViewDelegate {
let maxBarHeight: CGFloat
if !layout.safeInsets.top.isZero {
if let statusBarHeight = layout.statusBarHeight, statusBarHeight > 34.0 {
maxBarHeight = statusBarHeight + 34.0
maxBarHeight = statusBarHeight + 44.0
} else {
maxBarHeight = layout.safeInsets.top + 34.0
}