Skip to content

Commit

Permalink
Merge pull request #2944 from wikimedia/T200333-2
Browse files Browse the repository at this point in the history
Remove close 'x' button from no connection panel
  • Loading branch information
joewalsh authored Feb 25, 2019
2 parents 2823e56 + 5baea83 commit 1fa0032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wikipedia/Code/Panels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ extension UIViewController {
}

@objc func wmf_showNoInternetConnectionPanelViewController(theme: Theme, primaryButtonTapHandler: @escaping ScrollableEducationPanelButtonTapHandler, completion: @escaping () -> Void) {
let panelVC = NoInternetConnectionPanelViewController(showCloseButton: true, primaryButtonTapHandler: primaryButtonTapHandler, secondaryButtonTapHandler: nil, dismissHandler: nil, theme: theme)
let panelVC = NoInternetConnectionPanelViewController(showCloseButton: false, primaryButtonTapHandler: primaryButtonTapHandler, secondaryButtonTapHandler: nil, dismissHandler: nil, theme: theme)
present(panelVC, animated: true, completion: completion)
}
}

0 comments on commit 1fa0032

Please sign in to comment.