Skip to content

Commit

Permalink
Merge pull request #2241 from wikimedia/fix/read-more-regression/T192625
Browse files Browse the repository at this point in the history


Fix Find in page being shown when Read more "Save for later" tapped.
  • Loading branch information
Natalia Harateh committed Apr 20, 2018
2 parents 5627b65 + 27a25cc commit b23c50f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Wikipedia/Code/ReadingListHintController.swift
Expand Up @@ -70,7 +70,9 @@ public class ReadingListHintController: NSObject, ReadingListHintViewControllerD
let trailingConstraint = containerView.trailingAnchor.constraint(equalTo: presenter.view.trailingAnchor)
NSLayoutConstraint.activate([containerTopConstraint!, leadingConstraint, trailingConstraint])

presenter.wmf_hideKeyboard()
if presenter.isKind(of: SearchResultsViewController.self){
presenter.wmf_hideKeyboard()
}
} else {
assertionFailure("Expected presenter")
}
Expand Down

0 comments on commit b23c50f

Please sign in to comment.