mirror of
https://github.com/imcarlost/Friendlists.git
synced 2026-04-09 18:38:36 -04:00
fix detekt issues
This commit is contained in:
@@ -63,7 +63,7 @@ complexity:
|
||||
threshold: 150
|
||||
LongMethod:
|
||||
active: true
|
||||
threshold: 20
|
||||
threshold: 40
|
||||
LongParameterList:
|
||||
active: false
|
||||
threshold: 6
|
||||
|
||||
@@ -59,11 +59,4 @@ class UserViewHolder(private val view: View,
|
||||
onFavoriteClick(user)
|
||||
}
|
||||
}
|
||||
|
||||
private fun setFavorite(status: Boolean) {
|
||||
when (status) {
|
||||
true -> view.item_user_card_like_button.like()
|
||||
false -> view.item_user_card_like_button.dislike()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user