status-desktop/ui/app/mainui/activitycenter/views/ActivityNotificationReply.qml

20 lines
478 B
QML
Raw Normal View History

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.repliedMessage.messageText
onReplyClicked: root.store.activityCenterModuleInst.switchTo(notification.sectionId, notification.chatId, notification.id)
}
}