This commit is contained in:
Benoit Marty 2023-12-19 18:20:22 +01:00 committed by Benoit Marty
parent 39298a22f3
commit 6a9bcb8d1e

View file

@ -44,7 +44,7 @@ internal class CompoundIconListPreviewProvider : PreviewParameterProvider<IconCh
get() { get() {
val chunks = CompoundIcons.allResIds.chunked(36) val chunks = CompoundIcons.allResIds.chunked(36)
return chunks.mapIndexed { index, chunk -> return chunks.mapIndexed { index, chunk ->
IconChunk(index = index+1, total = chunks.size, icons = chunk.toPersistentList()) IconChunk(index = index + 1, total = chunks.size, icons = chunk.toPersistentList())
} }
.asSequence() .asSequence()
} }