mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 00:56:31 +08:00
opt: common ctr
opt: state Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -130,7 +130,7 @@ class _VotePanelState extends State<VotePanel> {
|
||||
});
|
||||
}
|
||||
} else {
|
||||
SmartDialog.showToast((res as Error).errMsg);
|
||||
SmartDialog.showToast((res as Error).errMsg ?? '');
|
||||
}
|
||||
}
|
||||
: null,
|
||||
@@ -386,7 +386,7 @@ Future showVoteDialog(BuildContext context, int voteId,
|
||||
),
|
||||
));
|
||||
} else {
|
||||
SmartDialog.showToast((voteInfo as Error).errMsg);
|
||||
SmartDialog.showToast((voteInfo as Error).errMsg ?? '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user