spend view: cleanup text input placeholders

This commit is contained in:
Antoine Poinsot 2023-05-07 12:45:28 +02:00
parent 53896eec8b
commit b47ce42794
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -134,10 +134,10 @@ pub fn create_spend_tx<'a>(
Row::new()
.push(
Row::new()
.push(Container::new(p1_bold("Fee rate")).padding(10))
.push(Container::new(p1_bold("Feerate")).padding(10))
.spacing(10)
.push(
form::Form::new("Feerate (sat/vbyte)", feerate, move |msg| {
form::Form::new("42 (in sats/vbyte)", feerate, move |msg| {
Message::CreateSpend(CreateSpendMessage::FeerateEdited(msg))
})
.warning("Invalid feerate")
@ -280,7 +280,7 @@ pub fn recipient_view<'a>(
.width(Length::Units(80)),
)
.push(
form::Form::new("ex: 0.001", amount, move |msg| {
form::Form::new("0.001 (in BTC)", amount, move |msg| {
CreateSpendMessage::RecipientEdited(index, "amount", msg)
})
.warning("Invalid amount. Must be > 0.00005000 BTC.")