Skip to content

Commit

Permalink
chore: fix settings button for iOS 15
Browse files Browse the repository at this point in the history
  • Loading branch information
forgotvas committed Jul 29, 2024
1 parent c449a00 commit 89e92c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OpenEdX/View/MainScreenView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ struct MainScreenView: View {
}
.accentColor(Theme.Colors.accentXColor)
.introspect(.viewController, on: .iOS(.v15)) { controller in
controller.navigationController?.setNavigationBarHidden(true, animated: false)
if viewModel.selection != .profile {
controller.navigationController?.setNavigationBarHidden(true, animated: false)
}
}
}

Expand Down

0 comments on commit 89e92c0

Please sign in to comment.