mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Format
This commit is contained in:
committed by
Benoit Marty
parent
c18959f0a0
commit
c02d97f421
+1
-1
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user