mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Add nullability to status
String [skip ci]
This commit is contained in:
parent
f29f17476c
commit
fa5c705bc8
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class SideShiftExchangeProvider extends ExchangeProvider {
|
|||
String? status;
|
||||
|
||||
if (deposits?.isNotEmpty ?? false) {
|
||||
status = deposits![0]['status'] as String;
|
||||
status = deposits![0]['status'] as String?;
|
||||
}
|
||||
state = TradeState.deserialize(raw: status ?? 'created');
|
||||
|
||||
|
|
Loading…
Reference in a new issue