Skip to content

Commit 90f2a43

Browse files
committed
balance update
1 parent 0496e29 commit 90f2a43

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

lib/plugin/store/balances.dart

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,23 @@ class ExtraTokenData {
6868
/// 6. [tokenNameId] acala.js formatted tokenNameId, <fa://0> for {ForeignAsset: 0}.
6969
/// 6. [currencyId] acala currencyId type, {ForeignAsset: 0} for <fa://0>.
7070
class TokenBalanceData {
71-
TokenBalanceData({
72-
this.id,
73-
this.name,
74-
this.tokenNameId,
75-
this.symbol,
76-
this.type = 'Token',
77-
this.currencyId,
78-
this.src,
79-
this.minBalance,
80-
this.fullName,
81-
this.decimals,
82-
this.amount,
83-
this.locked,
84-
this.reserved,
85-
this.detailPageRoute,
86-
this.price,
87-
});
71+
TokenBalanceData(
72+
{this.id,
73+
this.name,
74+
this.tokenNameId,
75+
this.symbol,
76+
this.type = 'Token',
77+
this.currencyId,
78+
this.src,
79+
this.minBalance,
80+
this.fullName,
81+
this.decimals,
82+
this.amount,
83+
this.locked,
84+
this.reserved,
85+
this.detailPageRoute,
86+
this.price,
87+
this.isCacheChange = false});
8888

8989
final String? id;
9090
final String? name;
@@ -102,4 +102,5 @@ class TokenBalanceData {
102102

103103
String? detailPageRoute;
104104
final double? price;
105+
bool isCacheChange;
105106
}

0 commit comments

Comments
 (0)