Skip to content

Commit

Permalink
Merge branch 'done-button' of https://github.com/wikimedia/wikipedia-ios
Browse files Browse the repository at this point in the history
 into done-button
  • Loading branch information
mazevedofs committed Jan 27, 2025
2 parents e9cbd68 + b8b0318 commit 0a11e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wikipedia/Code/SinglePageWebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ class SinglePageWebViewController: ThemeableViewController, WMFNavigationBarConf
let titleConfig = WMFNavigationBarTitleConfig(title: "", customView: nil, alignment: .hidden)

if navigationController?.viewControllers.first === self {

switch configType {
case .donate:
closeConfig = WMFNavigationBarCloseButtonConfig(text: CommonStrings.cancelActionTitle, target: self, action: #selector(closeButtonTapped(_:)), alignment: .leading)
default:
closeConfig = WMFNavigationBarCloseButtonConfig(text: CommonStrings.doneTitle, target: self, action: #selector(closeButtonTapped(_:)), alignment: .leading)
}

}
configureNavigationBar(titleConfig: titleConfig, closeButtonConfig: closeConfig, profileButtonConfig: nil, searchBarConfig: nil, hideNavigationBarOnScroll: false)

Expand Down

0 comments on commit 0a11e4a

Please sign in to comment.