mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-21 06:18:42 +02:00
CAKE-64 | added extra ID to _updateItems() method in the exchange_trade_view_model.dart; added extra_id to string resources
This commit is contained in:
@@ -96,9 +96,15 @@ abstract class ExchangeTradeViewModelBase with Store {
|
||||
void _updateItems() {
|
||||
items?.clear();
|
||||
|
||||
items.add(ExchangeTradeItem(
|
||||
title: S.current.id, data: '${trade.id}', isCopied: true));
|
||||
|
||||
if (trade.extraId != null) {
|
||||
items.add(ExchangeTradeItem(
|
||||
title: S.current.extra_id, data: '${trade.extraId}', isCopied: false));
|
||||
}
|
||||
|
||||
items.addAll([
|
||||
ExchangeTradeItem(
|
||||
title: S.current.id, data: '${trade.id}', isCopied: true),
|
||||
ExchangeTradeItem(
|
||||
title: S.current.amount, data: '${trade.amount}', isCopied: false),
|
||||
ExchangeTradeItem(
|
||||
|
||||
Reference in New Issue
Block a user