Do not display empty room list state before the loading one (#2402)

* Do not display empty room list state before the loading one
This commit is contained in:
Jorge Martin Espinosa 2024-02-21 12:16:00 +01:00 committed by GitHub
parent dbc442e239
commit e7ed466b4f
10 changed files with 41 additions and 39 deletions

View file

@ -58,7 +58,7 @@ class InviteListPresenter @Inject constructor(
.roomListService
.invites
.summaries
.collectAsState()
.collectAsState(initial = emptyList())
var seenInvites by remember { mutableStateOf<Set<RoomId>>(emptySet()) }