Skip to content

Commit 5ebc55a

Browse files
committed
Fix location view
1 parent e6b0d66 commit 5ebc55a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

submodules/LocationUI/Sources/LocationViewControllerNode.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ final class LocationViewControllerNode: ViewControllerTracingNode, CLLocationMan
716716
guard let strongSelf = self, let (layout, navigationBarHeight) = strongSelf.validLayout, strongSelf.listNode.scrollEnabled else {
717717
return
718718
}
719-
let overlap: CGFloat = 6.0
719+
let overlap: CGFloat = 0.0
720720
strongSelf.listOffset = max(0.0, offset)
721721
let headerFrame = CGRect(origin: CGPoint(), size: CGSize(width: layout.size.width, height: max(0.0, offset + overlap)))
722722
listTransition.updateFrame(node: strongSelf.headerNode, frame: headerFrame)
@@ -940,7 +940,7 @@ final class LocationViewControllerNode: ViewControllerTracingNode, CLLocationMan
940940
}
941941
}
942942

943-
let overlap: CGFloat = 6.0
943+
let overlap: CGFloat = 0.0
944944
var topInset: CGFloat = layout.size.height - layout.intrinsicInsets.bottom - overlap
945945
if !self.isStoryLocation {
946946
topInset -= 100.0

0 commit comments

Comments
 (0)