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)
.sink { _ in }
.store(in: &cancellables)
default:
break
}
}
}

View file

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