diff --git a/src/xcode/ENA/ENA/Source/Scenes/Events/TraceLocations/Configuration/TraceLocationConfigurationViewController.swift b/src/xcode/ENA/ENA/Source/Scenes/Events/TraceLocations/Configuration/TraceLocationConfigurationViewController.swift index 16a51827b20..5dd6bcdb2f7 100644 --- a/src/xcode/ENA/ENA/Source/Scenes/Events/TraceLocations/Configuration/TraceLocationConfigurationViewController.swift +++ b/src/xcode/ENA/ENA/Source/Scenes/Events/TraceLocations/Configuration/TraceLocationConfigurationViewController.swift @@ -60,6 +60,22 @@ class TraceLocationConfigurationViewController: UIViewController, FooterViewHand permanentDefaultLengthFootnoteLabel.text = AppStrings.TraceLocations.Configuration.defaultCheckinLengthFootnote } + + override func viewWillAppear(_ animated: Bool) { + // Fix an overlay bug for iPhone SE 1st + DispatchQueue.main.async { [weak self] in + self?.navigationController?.navigationBar.isTranslucent = false + self?.navigationController?.navigationBar.backgroundColor = .enaColor(for: .background) + } + } + + override func viewWillDisappear(_ animated: Bool) { + // Fix an overlay bug for iPhone SE 1st + DispatchQueue.main.async { [weak self] in + self?.navigationController?.navigationBar.isTranslucent = true + self?.navigationController?.navigationBar.backgroundColor = nil + } + } // MARK: - Protocol FooterViewHandling