From be61c803bf633676e0950a19e2d03b8519464a45 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sat, 12 Dec 2020 16:35:33 +0100 Subject: [PATCH] MorphToken: add statustext for missing states --- src/MorphTokenWidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MorphTokenWidget.cpp b/src/MorphTokenWidget.cpp index 5459487..b1fbc55 100644 --- a/src/MorphTokenWidget.cpp +++ b/src/MorphTokenWidget.cpp @@ -164,6 +164,10 @@ void MorphTokenWidget::onApiResponse(const MorphTokenApi::MorphTokenResponse &re } } else if (state == "COMPLETE_WITHOUT_REFUND") { statusText += "Deposit amount below network fee, too small to refund."; + } else if (state == "PROCESSING_DELAY") { + statusText += "Please enter in contact with support.\n\ncontact@morphtoken.com"; + } else if (state == "CANCELLED") { + statusText += "The trade was cancelled. If this is unexpected, please contact support at contact@morphtoken.com"; } ui->label_status->setText(statusText);