Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
fix null account in card
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobrg committed Oct 8, 2021
1 parent 8e548d8 commit 4c9a48c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DecisionCardSpamService extends ChangeNotifier {
Future<List<DecisionCardSpamLayout>?> getCards() async {
List<ApiEmailSenderModel> senders =
await _apiEmailSenderService.getUnsubscribed();
ApiOAuthModelAccount? account = await _apiAuthService.getAccount();
_account = await _apiAuthService.getAccount();
List<int> senderIds = List.empty(growable: true);
for (ApiEmailSenderModel sender in senders) {
if (sender.senderId != null) senderIds.add(sender.senderId!);
Expand Down

0 comments on commit 4c9a48c

Please sign in to comment.