gui(transactions): split strings across multiple lines

This is easier to read and ensures `cargo fmt` works.
This commit is contained in:
jp1ac4 2024-01-22 13:56:31 +00:00
parent bc7f2e3f6b
commit c50954e910
No known key found for this signature in database
GPG Key ID: A7ACD32423568D7B

View File

@ -169,9 +169,14 @@ pub fn create_rbf_modal<'a>(
confirm_button.on_press(Message::CreateRbf(super::CreateRbfMessage::Confirm));
}
let help_text = if is_cancel {
"Replace the transaction with one paying a higher feerate that sends the coins back to us. There is no guarantee the original transaction won't get mined first. New inputs may be used for the replacement transaction."
"Replace the transaction with one paying a higher feerate \
that sends the coins back to us. There is no guarantee the \
original transaction won't get mined first. New inputs may \
be used for the replacement transaction."
} else {
"Replace the transaction with one paying a higher feerate to incentivize faster confirmation. New inputs may be used for the replacement transaction."
"Replace the transaction with one paying a higher feerate \
to incentivize faster confirmation. New inputs may be used \
for the replacement transaction."
};
card::simple(
Column::new()
@ -188,7 +193,8 @@ pub fn create_rbf_modal<'a>(
Message::CreateRbf(CreateRbfMessage::FeerateEdited(msg))
})
.warning(
"Feerate must be greater than previous value and less than or equal to 1000 sats/vbyte",
"Feerate must be greater than previous value and \
less than or equal to 1000 sats/vbyte",
)
.size(20)
.padding(10),