Skip to content
Snippets Groups Projects
Commit 1e75ffe6 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Fix starting search from invitation deep link

parent 840e3905
No related branches found
No related tags found
1 merge request!98Fix invitation deep link handling
...@@ -63,31 +63,8 @@ final class SearchLeftViewModel { ...@@ -63,31 +63,8 @@ final class SearchLeftViewModel {
if let pendingInvitation = invitation { if let pendingInvitation = invitation {
invitation = nil invitation = nil
stateSubject.value.input = pendingInvitation stateSubject.value.input = pendingInvitation
hudManager.show(.init(
actionTitle: Localized.Ud.Search.cancel,
hasDotAnimation: true,
isAutoDismissable: false,
onTapClosure: { [weak self] in
guard let self else { return }
self.didTapCancelSearch()
}
))
networkCancellable.removeAll() networkCancellable.removeAll()
didStartSearching()
// networkMonitor
// .statusPublisher
// .first { $0 == .available }
// .eraseToAnyPublisher()
// .flatMap { _ in
// self.waitForNodes(timeout: 5)
// }.sink(receiveCompletion: {
// if case .failure(let error) = $0 {
// self.hudManager.show(.init(error: error))
// }
// }, receiveValue: {
// self.didStartSearching()
// }).store(in: &networkCancellable)
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment