From e8852918a7124a7ca82f5f1f8e11ec38a0f5b446 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 29 Dec 2023 12:13:49 +0100 Subject: [PATCH] qml: fix newline in TxDetails --- electrum/gui/qml/components/TxDetails.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qml/components/TxDetails.qml b/electrum/gui/qml/components/TxDetails.qml index 540a8b4af..e5ce5eb26 100644 --- a/electrum/gui/qml/components/TxDetails.qml +++ b/electrum/gui/qml/components/TxDetails.qml @@ -68,11 +68,11 @@ Pane { text: txdetails.isUnrelated ? qsTr('Transaction is unrelated to this wallet.') : txdetails.inMempool - ? qsTr('This transaction is still unconfirmed.') + '\n' + + ? qsTr('This transaction is still unconfirmed.') + (txdetails.canBump || txdetails.canCpfp || txdetails.canCancel ? txdetails.canCancel - ? qsTr('You can bump its fee to speed up its confirmation, or cancel this transaction.') - : qsTr('You can bump its fee to speed up its confirmation.') + ? '\n' + qsTr('You can bump its fee to speed up its confirmation, or cancel this transaction.') + : '\n' + qsTr('You can bump its fee to speed up its confirmation.') : '') : txdetails.lockDelay ? qsTr('This transaction is local to your wallet and locked for the next %1 blocks.').arg(txdetails.lockDelay)