Merge #527: minor wording fix
506f97dc8e7ad053e30e19a12327b2bf16f09882 minor wording fix (pythcoiner) Pull request description: following #508 ACKs for top commit: darosior: ACK 506f97dc8e7ad053e30e19a12327b2bf16f09882 Tree-SHA512: 5e511e8ebe1ec346dfdf70759f15e2548e78323efafe0ba97a15a8195e52dd6dde490c4320f8a42b533d3772e5f83f8fa9c9edba9dcb8012cb96b319507a3072
This commit is contained in:
commit
0406085ed5
@ -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("Send-to-self"))
|
||||
Container::new(h1("Self-transfer"))
|
||||
} else {
|
||||
Container::new(amount_with_size(&tx.spend_amount, H1_SIZE))
|
||||
})
|
||||
|
||||
@ -140,7 +140,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("Send-to-self"))
|
||||
Container::new(p1_regular("Self-transfer"))
|
||||
})
|
||||
.push(amount_with_size(&tx.fee_amount, P2_SIZE))
|
||||
.width(Length::Shrink),
|
||||
|
||||
@ -99,7 +99,11 @@ pub fn create_spend_tx<'a>(
|
||||
cache,
|
||||
error,
|
||||
Column::new()
|
||||
.push(h3(if is_self_send { "Send-to-self" } else { "Send" }))
|
||||
.push(h3(if is_self_send {
|
||||
"Self-transfer"
|
||||
} else {
|
||||
"Send"
|
||||
}))
|
||||
.push(
|
||||
Column::new()
|
||||
.push(Column::with_children(recipients).spacing(10))
|
||||
|
||||
@ -126,7 +126,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("Send-to-self"))
|
||||
Row::new().push(text("Self-transfer"))
|
||||
})
|
||||
.align_items(Alignment::Center)
|
||||
.spacing(20),
|
||||
@ -160,7 +160,7 @@ pub fn tx_view<'a>(
|
||||
Column::new().spacing(20).push(
|
||||
Column::new()
|
||||
.push(if tx.is_self_send() {
|
||||
Container::new(h1("Send-to-self"))
|
||||
Container::new(h1("Self-transfer"))
|
||||
} 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