view: 'self send' -> 'send-to-self'
This commit is contained in:
parent
43b207a4f5
commit
139273b87f
@ -188,7 +188,7 @@ pub fn spend_header<'a>(tx: &SpendTx) -> Element<'a, Message> {
|
||||
.push(
|
||||
Column::new()
|
||||
.push(if tx.is_self_send() {
|
||||
Container::new(h1("Self send"))
|
||||
Container::new(h1("Send-to-self"))
|
||||
} else {
|
||||
Container::new(amount_with_size(&tx.spend_amount, H1_SIZE))
|
||||
})
|
||||
|
||||
@ -136,7 +136,7 @@ fn spend_tx_list_view<'a>(i: usize, tx: &SpendTx) -> Element<'a, Message> {
|
||||
.push(if !tx.is_self_send() {
|
||||
Container::new(amount(&tx.spend_amount))
|
||||
} else {
|
||||
Container::new(p1_regular("Self send"))
|
||||
Container::new(p1_regular("Send-to-self"))
|
||||
})
|
||||
.push(amount_with_size(&tx.fee_amount, P2_SIZE))
|
||||
.width(Length::Shrink),
|
||||
|
||||
@ -99,7 +99,7 @@ pub fn create_spend_tx<'a>(
|
||||
cache,
|
||||
error,
|
||||
Column::new()
|
||||
.push(h3(if is_self_send { "Self send" } else { "Send" }))
|
||||
.push(h3(if is_self_send { "Send-to-self" } else { "Send" }))
|
||||
.push(
|
||||
Column::new()
|
||||
.push(Column::with_children(recipients).spacing(10))
|
||||
|
||||
@ -124,7 +124,7 @@ fn tx_list_view<'a>(i: usize, tx: &HistoryTransaction) -> Element<'a, Message> {
|
||||
.push(amount(&tx.outgoing_amount))
|
||||
.align_items(Alignment::Center)
|
||||
} else {
|
||||
Row::new().push(text("Self send"))
|
||||
Row::new().push(text("Send-to-self"))
|
||||
})
|
||||
.align_items(Alignment::Center)
|
||||
.spacing(20),
|
||||
@ -158,7 +158,7 @@ pub fn tx_view<'a>(
|
||||
Column::new().spacing(20).push(
|
||||
Column::new()
|
||||
.push(if tx.is_self_send() {
|
||||
Container::new(h1("Self send"))
|
||||
Container::new(h1("Send-to-self"))
|
||||
} else if tx.is_external() {
|
||||
Container::new(amount_with_size(&tx.incoming_amount, H1_SIZE))
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user