mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 14:54:48 +00:00
f8e5b25a09
refactor: extract messages from chat view refactor: extract messages from chat view refactor: extract messages from chat view update references to messageView fix setup remove duplicated method
21 lines
498 B
QML
21 lines
498 B
QML
|
|
import QtQuick 2.3
|
|
import "../../../../../shared"
|
|
import "../../../../../imports"
|
|
|
|
StyledText {
|
|
id: retryLbl
|
|
color: Style.current.red
|
|
//% "Resend"
|
|
text: qsTrId("resend-message")
|
|
font.pixelSize: Style.current.tertiaryTextFontSize
|
|
visible: isCurrentUser && (timeout || isExpired)
|
|
MouseArea {
|
|
cursorShape: Qt.PointingHandCursor
|
|
anchors.fill: parent
|
|
onClicked: {
|
|
chatsModel.messageView.resendMessage(chatId, messageId)
|
|
}
|
|
}
|
|
}
|