Skip to content

Commit

Permalink
#151 Bug fix: add new comment to comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiebeler committed Jan 29, 2025
1 parent 0017cbc commit 31c4d71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class PostViewModel @Inject constructor(
when (result) {
is Resource.Success -> {
ownReplyState = OwnReplyState(reply = result.data)
loadReplies(postId)
repliesState = repliesState.copy(replies = repliesState.replies + result.data!!)
}

is Resource.Error -> {
Expand Down

0 comments on commit 31c4d71

Please sign in to comment.