Fixed a couple of build errors

This commit is contained in:
Morgan Pretty 2023-09-08 17:53:46 +10:00
parent 65057fba21
commit d6b92badc9
2 changed files with 5 additions and 2 deletions

View File

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

View File

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