mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user