mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-20 21:06:32 +00:00
oops
This commit is contained in:
parent
267096ff39
commit
a037b68f27
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue