mirror of
https://github.com/imcarlost/Friendlists.git
synced 2026-04-10 02:46:54 -04:00
fix detekt issues
This commit is contained in:
@@ -63,7 +63,7 @@ complexity:
|
|||||||
threshold: 150
|
threshold: 150
|
||||||
LongMethod:
|
LongMethod:
|
||||||
active: true
|
active: true
|
||||||
threshold: 20
|
threshold: 40
|
||||||
LongParameterList:
|
LongParameterList:
|
||||||
active: false
|
active: false
|
||||||
threshold: 6
|
threshold: 6
|
||||||
|
|||||||
@@ -59,11 +59,4 @@ class UserViewHolder(private val view: View,
|
|||||||
onFavoriteClick(user)
|
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