Sync space order with web #5134

This commit is contained in:
Gil Eluard
2022-03-25 13:45:16 +01:00
parent 2f356a4a7f
commit ce077efb1e
2 changed files with 2 additions and 1 deletions
@@ -184,7 +184,7 @@ final class SpaceListViewModel: SpaceListViewModelType {
var index = 0
for itemViewData in viewDataList {
if itemViewData.spaceId == self.selectedItemId {
newSelection = IndexPath(row: index, section: sections.count - 1)
newSelection = IndexPath(row: index, section: spacesSectionIndex)
}
index += 1
}