diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-03-07 15:16:59 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-03-22 16:42:30 +0100 |
| commit | a51757ce590b5063c1c8099b3ed8ea0fa8b3bcdb (patch) | |
| tree | 85935823680100affad563ebeca45a07a71938ee /ios/MullvadVPN/Containers/Navigation/CustomNavigationController.swift | |
| parent | 1c2c6f58dc1d175d00bea8037ca989ca80b1fcb8 (diff) | |
| download | mullvadvpn-a51757ce590b5063c1c8099b3ed8ea0fa8b3bcdb.tar.xz mullvadvpn-a51757ce590b5063c1c8099b3ed8ea0fa8b3bcdb.zip | |
Add coordinators and app router
Fixes IOS-10
Diffstat (limited to 'ios/MullvadVPN/Containers/Navigation/CustomNavigationController.swift')
| -rw-r--r-- | ios/MullvadVPN/Containers/Navigation/CustomNavigationController.swift | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ios/MullvadVPN/Containers/Navigation/CustomNavigationController.swift b/ios/MullvadVPN/Containers/Navigation/CustomNavigationController.swift new file mode 100644 index 0000000000..55cf9794e7 --- /dev/null +++ b/ios/MullvadVPN/Containers/Navigation/CustomNavigationController.swift @@ -0,0 +1,25 @@ +// +// CustomNavigationController.swift +// MullvadVPN +// +// Created by pronebird on 23/02/2023. +// Copyright © 2023 Mullvad VPN AB. All rights reserved. +// + +import UIKit + +class CustomNavigationController: UINavigationController { + override var childForStatusBarHidden: UIViewController? { + return topViewController + } + + override var childForStatusBarStyle: UIViewController? { + return topViewController + } + + override func viewDidLoad() { + super.viewDidLoad() + + navigationBar.configureCustomAppeareance() + } +} |
