File tree Expand file tree Collapse file tree
Projects/Presentation/Sources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ import UIKit
1010extension UIViewController {
1111 // MARK: - NavigationBar
1212 func configureNavigationBar( navigationStyle: NavigationBarStyle ) {
13- let appearance = UINavigationBarAppearance ( )
14- appearance. backgroundEffect = . none
15- appearance. configureWithOpaqueBackground ( )
16- appearance. shadowColor = . clear
17- navigationController? . navigationBar. standardAppearance = appearance
18- navigationController? . navigationBar. scrollEdgeAppearance = appearance
19-
2013 switch navigationStyle {
2114 case . hidden:
2215 navigationController? . setNavigationBarHidden ( true , animated: false )
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ final class HomeView: BaseViewController<HomeViewModel> {
102102
103103 override func viewWillAppear( _ animated: Bool ) {
104104 super. viewWillAppear ( animated)
105+ configureNavigationBar ( navigationStyle: . hidden)
105106 viewModel. action ( input: . fetchEmotion)
106107 }
107108
Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ public final class OnboardingView: BaseViewController<OnboardingViewModel> {
5353 fatalError ( " init(coder:) has not been implemented " )
5454 }
5555
56- public override func viewDidLoad( ) {
57- super. viewDidLoad ( )
58- }
59-
6056 public override func viewWillAppear( _ animated: Bool ) {
6157 super. viewWillAppear ( animated)
6258
You can’t perform that action at this time.
0 commit comments