Browse Source

oops

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
a037b68f27
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/models/Comment.kt

2
app/src/main/java/awais/instagrabber/models/Comment.kt

@ -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…
Cancel
Save