Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
} |
|
|
} |
|
|