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