mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Subscribe to RoomListItems in the visible range (#3169)
* Subscribe to `RoomListItems` in the visible range This ensures the room list items always have updated info.
This commit is contained in:
committed by
GitHub
parent
0be7058416
commit
5944f112fb
@@ -50,4 +50,8 @@ class EventsRecorder<T>(
|
||||
fun assertTrue(index: Int, predicate: (T) -> Boolean) {
|
||||
assertThat(predicate(events[index])).isTrue()
|
||||
}
|
||||
|
||||
fun clear() {
|
||||
events.clear()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user