From b89d086e79446856c78019712a37bfca1b4fca99 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Thu, 19 Oct 2023 16:48:58 -0500 Subject: [PATCH] Fixes AppBannerView sticking to safe area when scrolling --- AltStore/Components/AppBannerView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AltStore/Components/AppBannerView.swift b/AltStore/Components/AppBannerView.swift index 8bf05098..9396b6e8 100644 --- a/AltStore/Components/AppBannerView.swift +++ b/AltStore/Components/AppBannerView.swift @@ -90,8 +90,10 @@ class AppBannerView: RSTNibView self.betaBadgeView.isHidden = true self.layoutMargins = self.stackView.layoutMargins - self.stackView.preservesSuperviewLayoutMargins = true + self.insetsLayoutMarginsFromSafeArea = false + self.stackView.isLayoutMarginsRelativeArrangement = true + self.stackView.preservesSuperviewLayoutMargins = true } override func tintColorDidChange()