feat: decline and block screen

fix

improvement

fix conflict

fix tests

tests
This commit is contained in:
Mauro Romito
2025-04-03 17:36:34 +02:00
committed by Mauro
parent 2ee5c1b403
commit d92fecdc7e
32 changed files with 597 additions and 13 deletions
@@ -20,6 +20,7 @@ struct JoinRoomScreenCoordinatorParameters {
enum JoinRoomScreenCoordinatorAction {
case joined
case cancelled
case presentDeclineAndBlock(userID: String)
}
final class JoinRoomScreenCoordinator: CoordinatorProtocol {
@@ -51,6 +52,8 @@ final class JoinRoomScreenCoordinator: CoordinatorProtocol {
actionsSubject.send(.joined)
case .dismiss:
actionsSubject.send(.cancelled)
case .presentDeclineAndBlock(let userID):
actionsSubject.send(.presentDeclineAndBlock(userID: userID))
}
}
.store(in: &cancellables)