Merge branch 'krille/fix-sorted-rooms' into 'main'
fix: Rooms sort order after login Closes famedly-web#274 See merge request famedly/company/frontend/famedlysdk!971
This commit is contained in:
commit
6dbe62424d
|
|
@ -1,3 +1,7 @@
|
|||
## [0.8.12] - 02nd Mar 2022
|
||||
- fix: Rooms sort order after login
|
||||
- fix: Change password using email authentication
|
||||
|
||||
## [0.8.11] - 19nd Feb 2022
|
||||
- fix: Change password using email authentication
|
||||
|
||||
|
|
|
|||
|
|
@ -1744,7 +1744,7 @@ class Client extends MatrixApi {
|
|||
.compareTo(a.timeCreated.millisecondsSinceEpoch);
|
||||
|
||||
void _sortRooms() {
|
||||
if (prevBatch == null || _sortLock || rooms.length < 2) return;
|
||||
if (_sortLock || rooms.length < 2) return;
|
||||
_sortLock = true;
|
||||
rooms.sort(sortRoomsBy);
|
||||
_sortLock = false;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: matrix
|
||||
description: Matrix Dart SDK
|
||||
version: 0.8.11
|
||||
version: 0.8.12
|
||||
homepage: https://famedly.com
|
||||
repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue