1
0

Merge pull request #9894 from f321x/remove_sending_balance_warning

qml: rm small available sending balance warning
This commit is contained in:
ThomasV
2025-06-03 12:59:58 +02:00
committed by GitHub

View File

@@ -84,18 +84,6 @@ Pane {
columns: 2
rowSpacing: constants.paddingSmall
InfoTextArea {
Layout.columnSpan: 2
Layout.fillWidth: true
Layout.bottomMargin: constants.paddingMedium
visible: channeldetails.canSend.msatsInt < 0.5 * channeldetails.localCapacity.msatsInt
&& channeldetails.localCapacity.msatsInt > 0.2 * channeldetails.capacity.msatsInt
iconStyle: InfoTextArea.IconStyle.Warn
compact: true
text: [qsTr('The amount available for sending is considerably lower than the local balance.'),
qsTr('This can occur when mempool fees are high.')].join(' ')
}
ChannelBar {
Layout.columnSpan: 2
Layout.fillWidth: true
@@ -122,6 +110,21 @@ Pane {
amount: channeldetails.capacity
}
Label {
text: qsTr('Local balance')
color: Material.accentColor
}
FormattedAmount {
visible: channeldetails.isOpen
amount: channeldetails.localCapacity
}
Label {
visible: !channeldetails.isOpen
text: qsTr('n/a (channel not open)')
}
Label {
text: qsTr('Can send')
color: Material.accentColor