status-desktop/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/Retry.qml

20 lines
453 B
QML
Raw Normal View History

2020-07-14 15:35:21 +00:00
import QtQuick 2.3
import "../../../../../shared"
import "../../../../../imports"
StyledText {
id: retryLbl
color: Style.current.red
2020-08-26 15:52:26 +00:00
//% "Resend"
text: qsTrId("resend-message")
2020-07-14 15:35:21 +00:00
font.pixelSize: 12
visible: isCurrentUser && (timeout || isExpired)
2020-07-14 15:35:21 +00:00
MouseArea {
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
onClicked: {
chatsModel.resendMessage(chatId, messageId)
}
}
}