Skip to content

Commit 3e61fb2

Browse files
committed
Fix status bar color for iOS 13.5
1 parent b0e2821 commit 3e61fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExampleMVVM/Presentation/MoviesScene/Behaviors/BlackStyleNavigationBarBehavior.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ struct BlackStyleNavigationBarBehavior: ViewControllerLifecycleBehavior {
1111

1212
func viewDidLoad(viewController: UIViewController) {
1313

14-
viewController.navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
14+
viewController.navigationController?.navigationBar.barStyle = .black
1515
}
1616
}

0 commit comments

Comments
 (0)