mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
opt: pgc coin
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -129,7 +129,7 @@ class BangumiIntroController extends GetxController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 投币
|
// 投币
|
||||||
Future<void> actionCoinVideo() async {
|
void actionCoinVideo() {
|
||||||
if (!isLogin) {
|
if (!isLogin) {
|
||||||
SmartDialog.showToast('账号未登录');
|
SmartDialog.showToast('账号未登录');
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user