Add an empty state to the room list.

- Make `RoomListDataSource.allRooms` a `SharedFlow` so we can know when we don't have a value yet.
- Map its output in `RoomListPresenter` to `AsyncData`.
- Display the new empty state when the room list has loaded and has no items.
This commit is contained in:
Jorge Martín 2024-02-02 12:39:09 +01:00
parent 732d3d5f83
commit b390215701
7 changed files with 115 additions and 58 deletions

1
changelog.d/2330.feature Normal file
View file

@ -0,0 +1 @@
Add empty state to the room list.