null assignment fix

This commit is contained in:
julian 2024-01-11 12:19:56 -06:00
parent 52fbcdb5e1
commit 5cee68913c
3 changed files with 3 additions and 3 deletions

View file

@ -867,7 +867,7 @@ class _DesktopTransactionCardRowState
.read(mainDBProvider) .read(mainDBProvider)
.getEthContractSync(_transaction.contractAddress!); .getEthContractSync(_transaction.contractAddress!);
} else { } else {
ethContract == null; ethContract = null;
} }
super.initState(); super.initState();

View file

@ -74,7 +74,7 @@ class _TransactionCardStateV2 extends ConsumerState<TransactionCardV2> {
unit = tokenContract!.symbol; unit = tokenContract!.symbol;
} else { } else {
tokenContract == null; tokenContract = null;
unit = coin.ticker; unit = coin.ticker;
} }

View file

@ -109,7 +109,7 @@ class _TransactionV2DetailsViewState
unit = ethContract!.symbol; unit = ethContract!.symbol;
} else { } else {
ethContract == null; ethContract = null;
unit = coin.ticker; unit = coin.ticker;
} }