reactions: only allow copy emoji when editing

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Suhail Saqan authored and William Casarin committed 2023-08-05 18:48:16 -07:00
1 parent 29bba15230
commit ced3c76996
1 file changed
+2
@@ -39,9 +39,11 @@ struct EmojiListItemView: View {
} }
} }
.contextMenu { .contextMenu {
if !showActionButtons {
CopyAction(emoji: emoji) CopyAction(emoji: emoji)
} }
} }
}
func CopyAction(emoji: String) -> some View { func CopyAction(emoji: String) -> some View {
Button { Button {