[merge] Fix build

Change-Id: I05a3dbb9e136f30c429bcc67670bb9411f6476a7
This commit is contained in:
SpiritCroc 2023-03-08 20:38:16 +01:00
parent 8b2e5b561a
commit 4147b06d08
2 changed files with 3 additions and 1 deletions

View File

@ -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,
) )
} }
} }

View File

@ -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