Refresh RecentsListService when switching modes.

This commit is contained in:
Doug 2021-11-11 15:43:43 +00:00
parent 2955ad330a
commit d36e8f8d34
2 changed files with 7 additions and 1 deletions

View file

@ -20,7 +20,12 @@ import Foundation
public class RecentsListService: NSObject, RecentsListServiceProtocol {
private weak var session: MXSession?
public private(set) var mode: RecentsDataSourceMode
public private(set) var mode: RecentsDataSourceMode {
didSet {
refresh()
}
}
public private(set) var query: String?
public private(set) var space: MXSpace?

1
changelog.d/5105.bugfix Normal file
View file

@ -0,0 +1 @@
Fix room ordering when switching between Home and People/Rooms/Favourites.