Skip to content

Commit

Permalink
Allow replying to comments through long press
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceylo committed Oct 11, 2024
1 parent 1788337 commit fd85a38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions FurAffinity/Comments/CommentsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ struct CommentsView: View {
})
.tint(.orange)
}
.contextMenu {
Button(action: { replyAction(comment.cid) },
label: {
Label("Reply", systemImage: "arrowshape.turn.up.left")
})
}
} else {
CommentView(comment: comment)
}
Expand Down

0 comments on commit fd85a38

Please sign in to comment.