Move the global search shortcut to application commands so it's more reliable with multiple windows

This commit is contained in:
Stefan Ceriu
2026-03-30 13:01:21 +03:00
committed by Stefan Ceriu
parent d4e3b11486
commit a010306b41
12 changed files with 16 additions and 21 deletions
@@ -34,7 +34,6 @@ enum HomeScreenCoordinatorAction {
case presentRecoveryKeyScreen
case presentEncryptionResetScreen
case presentStartChatScreen
case presentGlobalSearch
case logout
}
@@ -90,8 +89,6 @@ final class HomeScreenCoordinator: CoordinatorProtocol {
actionsSubject.send(.presentEncryptionResetScreen)
case .presentStartChatScreen:
actionsSubject.send(.presentStartChatScreen)
case .presentGlobalSearch:
actionsSubject.send(.presentGlobalSearch)
case .logout:
actionsSubject.send(.logout)
case .transferOwnership(let roomIdentifier):