mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
e635ccdc93
Close #8499
29 lines
625 B
QML
29 lines
625 B
QML
import QtQuick 2.14
|
|
import QtQuick.Layouts 1.14
|
|
|
|
import StatusQ.Core 0.1
|
|
import StatusQ.Core.Theme 0.1
|
|
import StatusQ.Components 0.1
|
|
|
|
import shared 1.0
|
|
import utils 1.0
|
|
|
|
import "../controls"
|
|
|
|
ActivityNotificationMessage {
|
|
id: root
|
|
|
|
badgeComponent: ReplyBadge {
|
|
repliedMessageContent: notification ? notification.repliedMessage.messageText : ""
|
|
onReplyClicked: {
|
|
root.activityCenterStore.switchTo(notification)
|
|
root.closeActivityCenter()
|
|
}
|
|
}
|
|
|
|
onMessageClicked: {
|
|
root.activityCenterStore.switchTo(notification)
|
|
root.closeActivityCenter()
|
|
}
|
|
}
|