Merge #466: fix: psbts list item self-send label

12eba9e195d9812702b52ea470f1c272a5d07e06 fix: psbts list item self-send label (edouard)

Pull request description:

  close #456

ACKs for top commit:
  edouardparis:
    Self-ACK 12eba9e195d9812702b52ea470f1c272a5d07e06

Tree-SHA512: d4732a08aca9b71f05828d152c52aaf3d4443e008b6f21ecbc064676e2fc637944d68f6b3c92ed0bf53dca2f7bfe5df2dd553a471d43b0badcc4bdb041b86db7
This commit is contained in:
edouard 2023-04-26 11:42:15 +02:00
commit 14b1434374
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -133,7 +133,7 @@ fn spend_tx_list_view<'a>(i: usize, tx: &SpendTx) -> Element<'a, Message> {
.push(
Column::new()
.align_items(Alignment::End)
.push(if tx.is_self_send() {
.push(if !tx.is_self_send() {
Container::new(amount(&tx.spend_amount))
} else {
Container::new(p1_regular("Self send"))