fix detekt issues

This commit is contained in:
Carlos Martinez
2020-02-03 15:30:13 -03:00
parent c1bb08ee8f
commit fb754d1c99
2 changed files with 1 additions and 8 deletions

View File

@@ -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

View File

@@ -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()
}
}
} }