Fix warnings
This commit is contained in:
parent
48a7720737
commit
9577d27a92
|
@ -331,8 +331,6 @@ extension CollectionItemsViewModel: CollectionViewModel {
|
|||
.assignErrorsToAlertItem(to: \.alertItem, on: self)
|
||||
.sink { _ in }
|
||||
.store(in: &cancellables)
|
||||
default:
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue