mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
review changes
This commit is contained in:
parent
ecd1776085
commit
61cf3c3125
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue