Skip to content

Commit

Permalink
Merge pull request openedx#379 from edx/fix/back_menu_titles
Browse files Browse the repository at this point in the history
fix: There are no titles for "back menu" items
  • Loading branch information
rnr authored Mar 29, 2024
2 parents 47a9757 + c08efad commit b39d35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Core/Extensions/UIApplicationExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ extension UINavigationController {

let image = CoreAssets.arrowLeft.image
navigationBar.backIndicatorImage = image.withTintColor(Theme.UIColors.accentXColor)
navigationBar.backItem?.backButtonTitle = " "
navigationBar.backIndicatorTransitionMaskImage = image.withTintColor(Theme.UIColors.accentXColor)
navigationBar.titleTextAttributes = [
.foregroundColor: Theme.UIColors.navigationBarTintColor,
Expand Down Expand Up @@ -77,6 +76,7 @@ extension UINavigationController: UIGestureRecognizerDelegate {
override open func viewDidLoad() {
super.viewDidLoad()
interactivePopGestureRecognizer?.delegate = self
navigationItem.backButtonDisplayMode = .minimal
}

public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
Expand Down

0 comments on commit b39d35c

Please sign in to comment.