Swift IOS15 NavigationBar STING Broken

// Make sure you also add the scrollEdgeAppearance in >iOS15!

let backgroundColor = .yellow
let tintColor = .white

if #available(iOS 13.0, *) {
  let navBarAppearance = UINavigationBarAppearance()
  navBarAppearance.configureWithDefaultBackground()
  navBarAppearance.backgroundColor = .clear
  navBarAppearance.backgroundImage = UIImage(color: backgroundColor)

  navBarAppearance.shadowColor = nil
  self.navigationBar.standardAppearance = navBarAppearance
  self.navigationBar.compactAppearance = navBarAppearance

  // Important to add:
  self.navigationBar.scrollEdgeAppearance = navBarAppearance
}
Rens