Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-wls committed Oct 20, 2024
1 parent ee4ed0f commit 9e87379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,7 @@ internal open class ConversationViewModel(

/**
* Handles a click on resolve or does not resolve post.
* It updates the post accordingly. It reloads the view
* to make the changes visible.
* It updates the post accordingly.
*/
fun toggleResolvePost(
parentPost: PostPojo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ internal fun PostContextBottomSheet(
text = if (post.resolvesPost) stringResource(id = R.string.post_does_not_resolve) else stringResource(id = R.string.post_resolves),
onClick = {
onDismissRequest()
postActions.onResolvePost
postActions.onResolvePost.invoke()
}
)
}
Expand Down

0 comments on commit 9e87379

Please sign in to comment.