Fixed a couple of build errors

pull/941/head
Morgan Pretty 2 years ago
parent 65057fba21
commit d6b92badc9

@ -709,7 +709,8 @@ class ThreadSettingsViewModel: SessionTableViewModel<ThreadSettingsViewModel.Nav
from: isBlocked, from: isBlocked,
isBlocked: !isBlocked, isBlocked: !isBlocked,
threadId: threadId, threadId: threadId,
displayName: threadViewModel.displayName displayName: threadViewModel.displayName,
using: dependencies
) )
} }
) )
@ -807,7 +808,8 @@ class ThreadSettingsViewModel: SessionTableViewModel<ThreadSettingsViewModel.Nav
from oldBlockedState: Bool, from oldBlockedState: Bool,
isBlocked: Bool, isBlocked: Bool,
threadId: String, threadId: String,
displayName: String displayName: String,
using dependencies: Dependencies
) { ) {
guard oldBlockedState != isBlocked else { return } guard oldBlockedState != isBlocked else { return }

@ -186,5 +186,6 @@ extension MessageSender {
.updateAllAndConfig(db, ClosedGroup.Columns.name.set(to: name), using: dependencies) .updateAllAndConfig(db, ClosedGroup.Columns.name.set(to: name), using: dependencies)
} }
} }
.eraseToAnyPublisher()
} }
} }

Loading…
Cancel
Save