From aea09771107d6127863b75bbfd8917d2f5fd00cf Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Tue, 4 Apr 2023 17:26:20 -0500 Subject: [PATCH] Removes unused NavigationBar.backgroundColorView --- AltStore/Components/NavigationBar.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/AltStore/Components/NavigationBar.swift b/AltStore/Components/NavigationBar.swift index f10ab9eb..9a28ebb6 100644 --- a/AltStore/Components/NavigationBar.swift +++ b/AltStore/Components/NavigationBar.swift @@ -28,8 +28,6 @@ class NavigationBar: UINavigationBar { @IBInspectable var automaticallyAdjustsItemPositions: Bool = true - private let backgroundColorView = UIView() - override init(frame: CGRect) { super.init(frame: frame) @@ -79,11 +77,6 @@ class NavigationBar: UINavigationBar { super.layoutSubviews() - if self.backgroundColorView.superview != nil - { - self.insertSubview(self.backgroundColorView, at: 1) - } - if self.automaticallyAdjustsItemPositions { // We can't easily shift just the back button up, so we shift the entire content view slightly.