Skip to content
Snippets Groups Projects

Fixes for 'connections' flow

4 files
+ 55
78
Compare changes
  • Side-by-side
  • Inline

Files

@@ -96,18 +96,6 @@ public final class ContactListController: UIViewController {
.sink { [unowned self] in coordinator.toNewGroup(from: self) }
.store(in: &cancellables)
screenView.searchView
.rightPublisher
.receive(on: DispatchQueue.main)
.sink { [unowned self] in coordinator.toScan(from: self) }
.store(in: &cancellables)
screenView.searchView
.textPublisher
.removeDuplicates()
.sink { [unowned self] in tableController.filter($0) }
.store(in: &cancellables)
screenView.searchButton
.publisher(for: .touchUpInside)
.receive(on: DispatchQueue.main)
@@ -119,7 +107,7 @@ public final class ContactListController: UIViewController {
.sink { [weak screenView] in screenView?.requestsButton.updateNotification($0) }
.store(in: &cancellables)
viewModel.contacts
viewModel.sections
.receive(on: DispatchQueue.main)
.sink { [unowned self] in
screenView.stackView.isHidden = !$0.isEmpty
Loading