Fix warnings

This commit is contained in:
Justin Mazzocchi 2021-01-26 20:38:32 -08:00
parent 48a7720737
commit 9577d27a92
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
2 changed files with 1 additions and 2 deletions

View File

@ -331,8 +331,6 @@ extension CollectionItemsViewModel: CollectionViewModel {
.assignErrorsToAlertItem(to: \.alertItem, on: self) .assignErrorsToAlertItem(to: \.alertItem, on: self)
.sink { _ in } .sink { _ in }
.store(in: &cancellables) .store(in: &cancellables)
default:
break
} }
} }
} }

View File

@ -23,6 +23,7 @@ public final class NewStatusViewModel: ObservableObject {
private let compositionEventsSubject = PassthroughSubject<CompositionViewModel.Event, Never>() private let compositionEventsSubject = PassthroughSubject<CompositionViewModel.Event, Never>()
private var cancellables = Set<AnyCancellable>() private var cancellables = Set<AnyCancellable>()
// swiftlint:disable:next function_body_length
public init(allIdentitiesService: AllIdentitiesService, public init(allIdentitiesService: AllIdentitiesService,
identityContext: IdentityContext, identityContext: IdentityContext,
environment: AppEnvironment, environment: AppEnvironment,