SP3.1: Update room settings for Spaces element-ios#5231

- Changed the Room Settings screen according to the new design
- Implemented the room access flow
- Added room upgrade support
- Implemented the room suggestion screen
This commit is contained in:
Gil Eluard
2022-01-13 15:53:45 +01:00
parent 085fc7d5b0
commit ce226cff8a
78 changed files with 3755 additions and 196 deletions
@@ -30,8 +30,10 @@ class SpaceCreationAddRoomsItemsProcessor: MatrixItemChooserProcessorProtocol {
// MARK: MatrixItemChooserSelectionProcessorProtocol
var dataType: MatrixItemChooserType {
.room
private(set) var dataSource: MatrixItemChooserDataSource = MatrixItemChooserRoomsDataSource()
var loadingText: String? {
nil
}
func computeSelection(withIds itemsIds: [String], completion: @escaping (Result<Void, Error>) -> Void) {
@@ -30,8 +30,10 @@ class SpaceCreationInviteUsersItemsProcessor: MatrixItemChooserProcessorProtocol
// MARK: MatrixItemChooserSelectionProcessorProtocol
var dataType: MatrixItemChooserType {
.people
private(set) var dataSource: MatrixItemChooserDataSource = MatrixItemChooserUsersDataSource()
var loadingText: String? {
nil
}
func computeSelection(withIds itemsIds: [String], completion: @escaping (Result<Void, Error>) -> Void) {