Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
fixed linting newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasjungmann committed Sep 18, 2023
1 parent d796da1 commit dfb4295
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ data class NewsSources(

companion object {
fun fromProto(it: NewsSourceReply): List<NewsSources> {
return it.sourcesList.map { NewsSources(
id = it.source.toInt(),
title = it.title,
icon = it.icon
) }
return it.sourcesList.map {
NewsSources(
id = it.source.toInt(),
title = it.title,
icon = it.icon
)
}
}
}
}

0 comments on commit dfb4295

Please sign in to comment.