mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
feat: decline and block screen
fix improvement fix conflict fix tests tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user