Skip to content

Commit

Permalink
Sync space order with web #5134
Browse files Browse the repository at this point in the history
  • Loading branch information
gileluard committed Mar 25, 2022
1 parent 4bda8da commit dc3e7ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Riot/Modules/Spaces/SpaceList/SpaceListViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5134.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sync Spaces order with web

0 comments on commit dc3e7ae

Please sign in to comment.