mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
Fix the Konsist preview naming for the selection previews
This commit is contained in:
+2
-2
@@ -63,7 +63,7 @@ fun SelectionModeTopBar(
|
||||
@PreviewsDayNight
|
||||
@Composable
|
||||
internal fun SelectionModeTopBarPreview(
|
||||
@PreviewParameter(SelectionCountProvider::class) count: Int,
|
||||
@PreviewParameter(SelectionCountPreviewParam::class) count: Int,
|
||||
) = ElementPreview {
|
||||
SelectionModeTopBar(
|
||||
selectedCount = count,
|
||||
@@ -73,6 +73,6 @@ internal fun SelectionModeTopBarPreview(
|
||||
)
|
||||
}
|
||||
|
||||
internal class SelectionCountProvider : PreviewParameterProvider<Int> {
|
||||
internal class SelectionCountPreviewParam : PreviewParameterProvider<Int> {
|
||||
override val values = sequenceOf(0, 1, 5)
|
||||
}
|
||||
|
||||
@@ -66,6 +66,7 @@ class KonsistClassNameTest {
|
||||
"EditableAvatarViewUriPreviewParam",
|
||||
"LoginModeViewErrorPreviewParam",
|
||||
"OverlapRatioPreviewParam",
|
||||
"SelectionCountPreviewParam",
|
||||
"TextFileContentPreviewParam",
|
||||
"HtmlMessageContentPreviewParam",
|
||||
)
|
||||
|
||||
@@ -110,6 +110,7 @@ class KonsistPreviewTest {
|
||||
"MessageComposerViewVoicePreview",
|
||||
"MessagesReactionButtonAddPreview",
|
||||
"MessagesReactionButtonExtraPreview",
|
||||
"MessagesViewSelectionModePreview",
|
||||
"MessagesViewWithIdentityChangePreview",
|
||||
"PendingMemberRowWithLongNamePreview",
|
||||
"PinUnlockViewInAppPreview",
|
||||
@@ -133,6 +134,7 @@ class KonsistPreviewTest {
|
||||
"SasEmojisPreview",
|
||||
"SecureBackupSetupViewChangePreview",
|
||||
"SelectedUserCannotRemovePreview",
|
||||
"SelectionIndicatorSelectedPreview",
|
||||
"SpaceMembersViewNoHeroesPreview",
|
||||
"SyncStateViewServerUnreachablePreview",
|
||||
"TextComposerAddCaptionPreview",
|
||||
@@ -179,6 +181,7 @@ class KonsistPreviewTest {
|
||||
"TimelineItemVoiceViewScanningContentPreview",
|
||||
"TimelineItemVoiceViewUnifiedPreview",
|
||||
"TimelineViewMessageShieldPreview",
|
||||
"TimelineViewSelectionModePreview",
|
||||
"TimelineViewWithReadMarkerBothIndicatorsPreview",
|
||||
"TimelineViewWithReadMarkerJumpToUnreadIndicatorOnlyPreview",
|
||||
"UserAvatarColorsPreview",
|
||||
|
||||
Reference in New Issue
Block a user