Skip to content

Commit e18d637

Browse files
Fix ktlint violations
1 parent a84a2b3 commit e18d637

File tree

1 file changed

+3
-2
lines changed
  • composeApp/src/androidMain/kotlin/com/developersbreach/kotlindictionarymultiplatform/previews

1 file changed

+3
-2
lines changed

composeApp/src/androidMain/kotlin/com/developersbreach/kotlindictionarymultiplatform/previews/PreviewUtils.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ fun sampleTopicList(): List<Topic> {
6969
)
7070
}
7171

72-
fun sampleTopicUiList(): List<TopicUi> =
73-
sampleTopicList().map { topic ->
72+
fun sampleTopicUiList(): List<TopicUi> {
73+
return sampleTopicList().map { topic ->
7474
TopicUi(
7575
name = topic.name,
7676
initial = topic.name.firstOrNull()?.uppercase() ?: "",
7777
isBookmarked = true,
7878
)
7979
}
80+
}

0 commit comments

Comments
 (0)