mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +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) {
|
||||
SmartDialog.showToast('账号未登录');
|
||||
return;
|
||||
|
||||
@@ -46,7 +46,7 @@ class _BangumiIntroPanelState extends State<BangumiIntroPanel>
|
||||
late final _favKey = GlobalKey<ActionItemState>();
|
||||
|
||||
bool isProcessing = false;
|
||||
Future<void> handleState(Future Function() action) async {
|
||||
Future<void> handleState(FutureOr Function() action) async {
|
||||
if (isProcessing.not) {
|
||||
isProcessing = true;
|
||||
await action();
|
||||
|
||||
Reference in New Issue
Block a user