opt: pgc coin

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-11 14:42:23 +08:00
parent 2f3f712256
commit 279f586a90
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ class BangumiIntroController extends GetxController {
} }
// 投币 // 投币
Future<void> actionCoinVideo() async { void actionCoinVideo() {
if (!isLogin) { if (!isLogin) {
SmartDialog.showToast('账号未登录'); SmartDialog.showToast('账号未登录');
return; return;

View File

@@ -46,7 +46,7 @@ class _BangumiIntroPanelState extends State<BangumiIntroPanel>
late final _favKey = GlobalKey<ActionItemState>(); late final _favKey = GlobalKey<ActionItemState>();
bool isProcessing = false; bool isProcessing = false;
Future<void> handleState(Future Function() action) async { Future<void> handleState(FutureOr Function() action) async {
if (isProcessing.not) { if (isProcessing.not) {
isProcessing = true; isProcessing = true;
await action(); await action();