mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -310,9 +310,18 @@ class AudioController extends GetxController
|
||||
itemType: itemType,
|
||||
);
|
||||
if (res.isSuccess) {
|
||||
final data = res.data;
|
||||
hasLike.value = true;
|
||||
coinNum.value = 2;
|
||||
if (data.coinOk && !hasCoin) {
|
||||
coinNum.value = 2;
|
||||
GlobalData().afterCoin(2);
|
||||
}
|
||||
hasFav.value = true;
|
||||
if (!hasCoin) {
|
||||
SmartDialog.showToast('投币失败');
|
||||
} else {
|
||||
SmartDialog.showToast('三连成功');
|
||||
}
|
||||
} else {
|
||||
res.toast();
|
||||
}
|
||||
|
||||
10
pubspec.lock
10
pubspec.lock
@@ -1097,7 +1097,7 @@ packages:
|
||||
description:
|
||||
path: media_kit
|
||||
ref: "version_1.2.5"
|
||||
resolved-ref: "5ae9c2de261d673536e3dd4d4548adee2470f980"
|
||||
resolved-ref: "8f15c273f3e5c05476d8b19881719a1bd906c4f2"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
version: "1.1.11"
|
||||
@@ -1106,7 +1106,7 @@ packages:
|
||||
description:
|
||||
path: "libs/android/media_kit_libs_android_video"
|
||||
ref: "version_1.2.5"
|
||||
resolved-ref: "5ae9c2de261d673536e3dd4d4548adee2470f980"
|
||||
resolved-ref: "8f15c273f3e5c05476d8b19881719a1bd906c4f2"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
version: "1.3.7"
|
||||
@@ -1139,7 +1139,7 @@ packages:
|
||||
description:
|
||||
path: "libs/universal/media_kit_libs_video"
|
||||
ref: "version_1.2.5"
|
||||
resolved-ref: "5ae9c2de261d673536e3dd4d4548adee2470f980"
|
||||
resolved-ref: "8f15c273f3e5c05476d8b19881719a1bd906c4f2"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
version: "1.0.5"
|
||||
@@ -1148,7 +1148,7 @@ packages:
|
||||
description:
|
||||
path: "libs/windows/media_kit_libs_windows_video"
|
||||
ref: "version_1.2.5"
|
||||
resolved-ref: "5ae9c2de261d673536e3dd4d4548adee2470f980"
|
||||
resolved-ref: "8f15c273f3e5c05476d8b19881719a1bd906c4f2"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
version: "1.0.10"
|
||||
@@ -1157,7 +1157,7 @@ packages:
|
||||
description:
|
||||
path: media_kit_native_event_loop
|
||||
ref: "version_1.2.5"
|
||||
resolved-ref: "5ae9c2de261d673536e3dd4d4548adee2470f980"
|
||||
resolved-ref: "8f15c273f3e5c05476d8b19881719a1bd906c4f2"
|
||||
url: "https://github.com/bggRGjQaUbCoE/media-kit.git"
|
||||
source: git
|
||||
version: "1.0.9"
|
||||
|
||||
Reference in New Issue
Block a user