Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-09 21:46:11 +08:00
parent c69e688f49
commit e9b5959e9c
46 changed files with 431 additions and 448 deletions

View File

@@ -126,7 +126,7 @@ class PgcIntroController extends CommonIntroController {
return;
}
if (GlobalData().coins != null && GlobalData().coins! < 1) {
if (GlobalData.coins != null && GlobalData.coins! < 1) {
SmartDialog.showToast('硬币不足');
// return;
}
@@ -435,7 +435,7 @@ class PgcIntroController extends CommonIntroController {
if (response.coin == 1 && !hasCoin) {
stat?.coin += 2;
coinNum.value = 2;
GlobalData().afterCoin(2);
GlobalData.afterCoin(2);
}
if (response.favorite == 1 && !hasFav.value) {
stat?.favorite++;