Switch to search tab rather than displaying search modally
Fixes iOS-330
This commit is contained in:
parent
8926e5a5f2
commit
8c58712b93
@ -618,10 +618,7 @@ extension HomeTimelineViewController {
|
||||
}
|
||||
|
||||
@objc private func manuallySearchButtonPressed(_ sender: UIButton) {
|
||||
guard let authenticationBox = viewModel?.authenticationBox else { return }
|
||||
|
||||
let searchDetailViewModel = SearchDetailViewModel(authenticationBox: authenticationBox)
|
||||
_ = coordinator.present(scene: .searchDetail(viewModel: searchDetailViewModel), from: self, transition: .modal(animated: true, completion: nil))
|
||||
coordinator.switchToTabBar(tab: .search)
|
||||
}
|
||||
|
||||
@objc private func settingBarButtonItemPressed(_ sender: UIBarButtonItem) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user