selection impossible when filtering in add room screen #5757 (#5758)

- Fixed
- Other minor code / UI tweaks
This commit is contained in:
Gil Eluard
2022-03-07 12:25:50 +01:00
committed by GitHub
parent 59038e18c1
commit cf015c4ef2
30 changed files with 64 additions and 31 deletions

View File

@@ -38,7 +38,7 @@ enum MockMatrixItemChooserScreenState: MockScreenState, CaseIterable {
let service: MockMatrixItemChooserService
switch self {
case .noItems:
service = MockMatrixItemChooserService(type: .room, sections: [MatrixListItemSectionData(title: nil, infoText: nil, items: [])])
service = MockMatrixItemChooserService(type: .room, sections: [MatrixListItemSectionData()])
case .items:
service = MockMatrixItemChooserService()
case .selectedItems: