mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add the JoinRoomScreen into the SpaceFlowCoordinator. (#4513)
* Add the JoinRoomScreen into the SpaceFlowCoordinator. The screen needs further work to make the join work. * Fix the tests completing the join flow with the right action.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
enum JoinRoomScreenViewModelAction: Equatable {
|
||||
case joined
|
||||
enum JoinRoomScreenViewModelAction {
|
||||
case joined(JoinRoomScreenJoinDetails)
|
||||
case dismiss
|
||||
case presentDeclineAndBlock(userID: String)
|
||||
}
|
||||
@@ -43,6 +43,7 @@ struct JoinRoomScreenRoomDetails {
|
||||
let memberCount: Int?
|
||||
let inviter: RoomInviterDetails?
|
||||
let isDirect: Bool?
|
||||
let isSpace: Bool?
|
||||
}
|
||||
|
||||
struct JoinRoomScreenViewState: BindableState {
|
||||
|
||||
Reference in New Issue
Block a user