mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
8872877524
fixes #10703 - Adding a reaction by going in add reaction and clicking R1 should have no effect (Currently the reaction R1 is removed which is not expected) - Clicking on the R1 directly on the message should remove the reaction (I checked and this already works) - Add a visual indicator in the add reaction popup on which emoji is already selected
22 lines
373 B
QML
22 lines
373 B
QML
import StatusQ.Popups 0.1
|
|
|
|
import shared.controls.chat 1.0
|
|
|
|
StatusMenu {
|
|
id: root
|
|
|
|
property alias reactionsModel: emojiRow.reactionsModel
|
|
|
|
signal toggleReaction(int emojiId)
|
|
|
|
width: emojiRow.width
|
|
|
|
MessageReactionsRow {
|
|
id: emojiRow
|
|
onToggleReaction: {
|
|
root.toggleReaction(emojiId)
|
|
root.close()
|
|
}
|
|
}
|
|
}
|