aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/Transfer.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/pages/Transfer.qml b/pages/Transfer.qml
index 40d2bbf9..74b0b128 100644
--- a/pages/Transfer.qml
+++ b/pages/Transfer.qml
@@ -56,7 +56,7 @@ Rectangle {
property bool showAdvanced: false
// @TODO: remove after pid removal hardfork
property bool warningLongPidTransfer: false
- property bool warningLongPidDescription: false
+ property bool warningLongPidDescription: descriptionLine.text.match(/^[0-9a-f]{64}$/i)
Clipboard { id: clipboard }
@@ -331,6 +331,12 @@ Rectangle {
}
}
+ MoneroComponents.WarningBox {
+ text: qsTr("Description field contents match long payment ID format. \
+ Please don't paste long payment ID into description field, your funds might be lost.") + translationManager.emptyString;
+ visible: warningLongPidDescription
+ }
+
ColumnLayout {
spacing: 15