|
|
|
|
@ -55,27 +55,17 @@ Pane {
|
|
|
|
|
Layout.columnSpan: 2 |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
Layout.bottomMargin: constants.paddingLarge |
|
|
|
|
visible: txdetails.canBump || txdetails.canCpfp || txdetails.canCancel || txdetails.canRemove |
|
|
|
|
text: txdetails.canRemove |
|
|
|
|
visible: txdetails.canBump || txdetails.canCpfp || txdetails.canCancel || txdetails.canRemove || txdetails.isUnrelated |
|
|
|
|
text: txdetails.isUnrelated |
|
|
|
|
? qsTr('Transaction is unrelated to this wallet') |
|
|
|
|
: txdetails.canRemove |
|
|
|
|
? qsTr('This transaction is local to your wallet. It has not been published yet.') |
|
|
|
|
: qsTr('This transaction is still unconfirmed.') + '\n' + (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')) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
Layout.columnSpan: 2 |
|
|
|
|
visible: txdetails.isUnrelated |
|
|
|
|
Image { |
|
|
|
|
source: '../../icons/warning.png' |
|
|
|
|
Layout.preferredWidth: constants.iconSizeSmall |
|
|
|
|
Layout.preferredHeight: constants.iconSizeSmall |
|
|
|
|
} |
|
|
|
|
Label { |
|
|
|
|
text: qsTr('Transaction is unrelated to this wallet') |
|
|
|
|
color: Material.accentColor |
|
|
|
|
} |
|
|
|
|
iconStyle: txdetails.isUnrelated |
|
|
|
|
? InfoTextArea.IconStyle.Warn |
|
|
|
|
: InfoTextArea.IconStyle.Info |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
|
|