Switch to search tab rather than displaying search modally

Fixes iOS-330
This commit is contained in:
shannon 2024-11-22 12:24:11 -05:00
parent 8926e5a5f2
commit 8c58712b93

View File

@ -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) {