Skip to content

Commit

Permalink
Merge pull request cake-tech#624 from cake-tech/fix-trade-details-scr…
Browse files Browse the repository at this point in the history
…een-UI

fix UI on trade details screen with new design CW-138
  • Loading branch information
OmarHatem28 committed Jan 3, 2023
2 parents 177e189 + 5cb4b7e commit a0e98e6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/view_model/trade_details_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,5 @@ abstract class TradeDetailsViewModelBase with Store {
items.add(TrackTradeListItem(
title: 'Track', value: buildURL, onTap: () => launch(buildURL)));
}

if (trade.createdAt != null) {
items.add(StandartListItem(
title: S.current.trade_details_created_at,
value: trade.createdAt != null ? dateFormat.format(trade.createdAt!).toString() : ''));
}

if (trade.from != null && trade.to != null) {
items.add(StandartListItem(
title: S.current.trade_details_pair,
value: '${trade.from.toString()} → ${trade.to.toString()}'));
}
}
}

0 comments on commit a0e98e6

Please sign in to comment.