mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +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
|
@PreviewsDayNight
|
||||||
@Composable
|
@Composable
|
||||||
internal fun SelectionModeTopBarPreview(
|
internal fun SelectionModeTopBarPreview(
|
||||||
@PreviewParameter(SelectionCountProvider::class) count: Int,
|
@PreviewParameter(SelectionCountPreviewParam::class) count: Int,
|
||||||
) = ElementPreview {
|
) = ElementPreview {
|
||||||
SelectionModeTopBar(
|
SelectionModeTopBar(
|
||||||
selectedCount = count,
|
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)
|
override val values = sequenceOf(0, 1, 5)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ class KonsistClassNameTest {
|
|||||||
"EditableAvatarViewUriPreviewParam",
|
"EditableAvatarViewUriPreviewParam",
|
||||||
"LoginModeViewErrorPreviewParam",
|
"LoginModeViewErrorPreviewParam",
|
||||||
"OverlapRatioPreviewParam",
|
"OverlapRatioPreviewParam",
|
||||||
|
"SelectionCountPreviewParam",
|
||||||
"TextFileContentPreviewParam",
|
"TextFileContentPreviewParam",
|
||||||
"HtmlMessageContentPreviewParam",
|
"HtmlMessageContentPreviewParam",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ class KonsistPreviewTest {
|
|||||||
"MessageComposerViewVoicePreview",
|
"MessageComposerViewVoicePreview",
|
||||||
"MessagesReactionButtonAddPreview",
|
"MessagesReactionButtonAddPreview",
|
||||||
"MessagesReactionButtonExtraPreview",
|
"MessagesReactionButtonExtraPreview",
|
||||||
|
"MessagesViewSelectionModePreview",
|
||||||
"MessagesViewWithIdentityChangePreview",
|
"MessagesViewWithIdentityChangePreview",
|
||||||
"PendingMemberRowWithLongNamePreview",
|
"PendingMemberRowWithLongNamePreview",
|
||||||
"PinUnlockViewInAppPreview",
|
"PinUnlockViewInAppPreview",
|
||||||
@@ -133,6 +134,7 @@ class KonsistPreviewTest {
|
|||||||
"SasEmojisPreview",
|
"SasEmojisPreview",
|
||||||
"SecureBackupSetupViewChangePreview",
|
"SecureBackupSetupViewChangePreview",
|
||||||
"SelectedUserCannotRemovePreview",
|
"SelectedUserCannotRemovePreview",
|
||||||
|
"SelectionIndicatorSelectedPreview",
|
||||||
"SpaceMembersViewNoHeroesPreview",
|
"SpaceMembersViewNoHeroesPreview",
|
||||||
"SyncStateViewServerUnreachablePreview",
|
"SyncStateViewServerUnreachablePreview",
|
||||||
"TextComposerAddCaptionPreview",
|
"TextComposerAddCaptionPreview",
|
||||||
@@ -179,6 +181,7 @@ class KonsistPreviewTest {
|
|||||||
"TimelineItemVoiceViewScanningContentPreview",
|
"TimelineItemVoiceViewScanningContentPreview",
|
||||||
"TimelineItemVoiceViewUnifiedPreview",
|
"TimelineItemVoiceViewUnifiedPreview",
|
||||||
"TimelineViewMessageShieldPreview",
|
"TimelineViewMessageShieldPreview",
|
||||||
|
"TimelineViewSelectionModePreview",
|
||||||
"TimelineViewWithReadMarkerBothIndicatorsPreview",
|
"TimelineViewWithReadMarkerBothIndicatorsPreview",
|
||||||
"TimelineViewWithReadMarkerJumpToUnreadIndicatorOnlyPreview",
|
"TimelineViewWithReadMarkerJumpToUnreadIndicatorOnlyPreview",
|
||||||
"UserAvatarColorsPreview",
|
"UserAvatarColorsPreview",
|
||||||
|
|||||||
Reference in New Issue
Block a user