Skip to content

Commit a9a858d

Browse files
author
Bot
committed
Fix toPersistentList import
1 parent cba94bd commit a9a858d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ui/src/commonMain/kotlin/dev/materii/gloom/ui/screen/repo/component

ui/src/commonMain/kotlin/dev/materii/gloom/ui/screen/repo/component/CommitItem.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fun CommitItem(
9090
val authorAvatar = author?.avatarUrl
9191
val committerAvatar = committer?.avatarUrl
9292

93-
val avatars = buildList {
93+
val avatars = mutableListOf<String>().apply {
9494
authorAvatar?.let { add(it) }
9595
if (isUniqueCommiter) committerAvatar?.let { add(it) }
9696
}.toPersistentList()

0 commit comments

Comments
 (0)