mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:01:40 +00:00
Add missing preview: both fabs have counts
This commit is contained in:
+6
@@ -598,3 +598,9 @@ internal fun TimelineViewWithReadMarkerPreview() = ElementPreview {
|
|||||||
internal fun TimelineViewWithReadMarkerDotBadgesPreview() = ElementPreview {
|
internal fun TimelineViewWithReadMarkerDotBadgesPreview() = ElementPreview {
|
||||||
TimelineViewWithReadMarker(unreadMessagesCount = 47, newMessagesCount = 99)
|
TimelineViewWithReadMarker(unreadMessagesCount = 47, newMessagesCount = 99)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PreviewsDayNight
|
||||||
|
@Composable
|
||||||
|
internal fun TimelineViewWithReadMarkerBothCountsPreview() = ElementPreview {
|
||||||
|
TimelineViewWithReadMarker(unreadMessagesCount = 5, newMessagesCount = 3)
|
||||||
|
}
|
||||||
|
|||||||
@@ -160,6 +160,7 @@ class KonsistPreviewTest {
|
|||||||
"TimelineItemVoiceViewUnifiedPreview",
|
"TimelineItemVoiceViewUnifiedPreview",
|
||||||
"TimelineVideoWithCaptionRowPreview",
|
"TimelineVideoWithCaptionRowPreview",
|
||||||
"TimelineViewMessageShieldPreview",
|
"TimelineViewMessageShieldPreview",
|
||||||
|
"TimelineViewWithReadMarkerBothCountsPreview",
|
||||||
"TimelineViewWithReadMarkerDotBadgesPreview",
|
"TimelineViewWithReadMarkerDotBadgesPreview",
|
||||||
"TimelineViewWithReadMarkerNoBadgesPreview",
|
"TimelineViewWithReadMarkerNoBadgesPreview",
|
||||||
"UserAvatarColorsPreview",
|
"UserAvatarColorsPreview",
|
||||||
|
|||||||
Reference in New Issue
Block a user