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.