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

Commit

Permalink
fix remaining ktlint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrKedra committed Jun 20, 2022
1 parent 9249f13 commit 8144308
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class Person(
@PropertyElement(name = "familienname")
var surname: String = "",
@PropertyElement(name = "bild_url")
var imageUrl: String = "",
var imageUrl: String = ""
) : Serializable {

fun getFullName() = "$name $surname"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import de.tum.`in`.tumcampusapp.component.tumui.roomfinder.model.RoomFinderRoom

class RecentSearchesAdapter(
private val onSelect: (Recent) -> Unit,
private val onRemove: (Recent) -> Unit,
private val onRemove: (Recent) -> Unit
) : ListAdapter<Recent, RecentSearchesAdapter.RecentSearchViewHolder>(RecentSearchCallback) {

class RecentSearchViewHolder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import org.jetbrains.anko.textColorResource

data class ResultTypeData(
val type: SearchResultType,
val selectedType: SearchResultType,
val selectedType: SearchResultType
)

class ResultTypesAdapter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import de.tum.`in`.tumcampusapp.R
import de.tum.`in`.tumcampusapp.component.ui.search.SearchResult

class SearchResultsAdapter(
private val onClick: (SearchResult) -> Unit,
private val onClick: (SearchResult) -> Unit
) : ListAdapter<SearchResult, SearchResultsAdapter.SearchResultViewHolder>(SearchResultCallback) {

class SearchResultViewHolder(
Expand Down

0 comments on commit 8144308

Please sign in to comment.