[merge] Fix build
Change-Id: I05a3dbb9e136f30c429bcc67670bb9411f6476a7
This commit is contained in:
parent
8b2e5b561a
commit
4147b06d08
@ -61,6 +61,8 @@ class GetSpacesNotificationBadgeStateUseCase @Inject constructor(
|
|||||||
UnreadCounterBadgeView.State.Count(
|
UnreadCounterBadgeView.State.Count(
|
||||||
count = spacesNotificationCount.notificationCount,
|
count = spacesNotificationCount.notificationCount,
|
||||||
highlighted = spacesNotificationCount.isHighlight || hasPendingSpaceInvites,
|
highlighted = spacesNotificationCount.isHighlight || hasPendingSpaceInvites,
|
||||||
|
unread = spacesNotificationCount.unreadCount,
|
||||||
|
markedUnread = false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,5 +20,5 @@ import com.airbnb.mvrx.MavericksState
|
|||||||
import im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
import im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
||||||
|
|
||||||
data class NewHomeDetailViewState(
|
data class NewHomeDetailViewState(
|
||||||
val spacesNotificationCounterBadgeState: UnreadCounterBadgeView.State = UnreadCounterBadgeView.State.Count(count = 0, highlighted = false),
|
val spacesNotificationCounterBadgeState: UnreadCounterBadgeView.State = UnreadCounterBadgeView.State.Count(count = 0, highlighted = false, unread = 0, markedUnread = false),
|
||||||
) : MavericksState
|
) : MavericksState
|
||||||
|
Loading…
x
Reference in New Issue
Block a user