feat: Add Click to Copy for the Exchange Amount in the invoice (#882)

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
This commit is contained in:
Rafael Saes 2023-04-16 13:27:33 +00:00 committed by GitHub
parent 3b69aa8686
commit 77ab6b49f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,7 +140,7 @@ abstract class ExchangeTradeViewModelBase with Store {
} }
items.addAll([ items.addAll([
ExchangeTradeItem(title: S.current.amount, data: '${trade.amount}', isCopied: false), ExchangeTradeItem(title: S.current.amount, data: '${trade.amount}', isCopied: true),
ExchangeTradeItem( ExchangeTradeItem(
title: S.current.send_to_this_address('${trade.from}', tagFrom) + ':', title: S.current.send_to_this_address('${trade.from}', tagFrom) + ':',
data: trade.inputAddress ?? '', data: trade.inputAddress ?? '',