mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 05:16:58 +00:00
oops
This commit is contained in:
parent
267096ff39
commit
a037b68f27
@ -21,7 +21,7 @@ class Comment(
|
||||
return hasLikedComment
|
||||
}
|
||||
|
||||
fun setLiked(liked: Boolean) {
|
||||
fun setLiked(hasLikedComment: Boolean) {
|
||||
commentLikeCount = if (hasLikedComment) commentLikeCount + 1 else commentLikeCount - 1
|
||||
this.hasLikedComment = hasLikedComment
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user