review changes

This commit is contained in:
NIkita Fedrunov 2022-09-05 18:56:43 +02:00
parent ecd1776085
commit 61cf3c3125
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ class InvitesViewModel @AssistedInject constructor(
private val _invites = MutableSharedFlow<InvitesContentState>(replay = 1)
val invites = _invites.asSharedFlow()
var invitesCount = -1
private var invitesCount = -1
init {
observeInvites()

View file

@ -26,7 +26,7 @@ data class InvitesViewState(
val roomMembershipChanges: Map<String, ChangeMembershipState> = emptyMap(),
) : MavericksState
sealed class InvitesContentState {
sealed interface InvitesContentState {
object Loading : InvitesContentState()
data class Empty(
val title: CharSequence,