From 5ebc55af73d98786b81da479196747d821aca80e Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Wed, 4 Feb 2026 17:34:19 +0400 Subject: [PATCH] Fix location view --- .../LocationUI/Sources/LocationViewControllerNode.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/LocationUI/Sources/LocationViewControllerNode.swift b/submodules/LocationUI/Sources/LocationViewControllerNode.swift index 636eabfc99..7b1baca60b 100644 --- a/submodules/LocationUI/Sources/LocationViewControllerNode.swift +++ b/submodules/LocationUI/Sources/LocationViewControllerNode.swift @@ -716,7 +716,7 @@ final class LocationViewControllerNode: ViewControllerTracingNode, CLLocationMan guard let strongSelf = self, let (layout, navigationBarHeight) = strongSelf.validLayout, strongSelf.listNode.scrollEnabled else { return } - let overlap: CGFloat = 6.0 + let overlap: CGFloat = 0.0 strongSelf.listOffset = max(0.0, offset) let headerFrame = CGRect(origin: CGPoint(), size: CGSize(width: layout.size.width, height: max(0.0, offset + overlap))) listTransition.updateFrame(node: strongSelf.headerNode, frame: headerFrame) @@ -940,7 +940,7 @@ final class LocationViewControllerNode: ViewControllerTracingNode, CLLocationMan } } - let overlap: CGFloat = 6.0 + let overlap: CGFloat = 0.0 var topInset: CGFloat = layout.size.height - layout.intrinsicInsets.bottom - overlap if !self.isStoryLocation { topInset -= 100.0