mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Sync space order with web #5134
This commit is contained in:
parent
4bda8da4fe
commit
dc3e7aec2f
2 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,7 @@ final class SpaceListViewModel: SpaceListViewModelType {
|
||||||
var index = 0
|
var index = 0
|
||||||
for itemViewData in viewDataList {
|
for itemViewData in viewDataList {
|
||||||
if itemViewData.spaceId == self.selectedItemId {
|
if itemViewData.spaceId == self.selectedItemId {
|
||||||
newSelection = IndexPath(row: index, section: sections.count - 1)
|
newSelection = IndexPath(row: index, section: spacesSectionIndex)
|
||||||
}
|
}
|
||||||
index += 1
|
index += 1
|
||||||
}
|
}
|
||||||
|
|
1
changelog.d/5134.bugfix
Normal file
1
changelog.d/5134.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Sync Spaces order with web
|
Loading…
Reference in a new issue