mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout
This commit is contained in:
@@ -31,13 +31,8 @@ abstract class TradesStoreBase with Store {
|
||||
void setTrade(Trade trade) => this.trade = trade;
|
||||
|
||||
@action
|
||||
Future<void> updateTradeList() async {
|
||||
if (trade == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
trades = tradesSource.values.map((trade) => TradeListItem(
|
||||
trade: trade!,
|
||||
settingsStore: settingsStore)).toList();
|
||||
}
|
||||
Future<void> updateTradeList() async => trades =
|
||||
tradesSource.values.map((trade) => TradeListItem(
|
||||
trade: trade,
|
||||
settingsStore: settingsStore)).toList();
|
||||
}
|
||||
Reference in New Issue
Block a user