fix: validate

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-29 22:36:11 +08:00
parent b4ca42e0c0
commit 978f27c700
3 changed files with 17 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ class LiveController
@override
bool handleError(String? errMsg) {
if (errMsg?.startsWith('voucher') == true) {
loadingState.value = LoadingState.error(' -352 ');
RequestUtils.validate(
errMsg!,
(gaiaVtoken) {
@@ -35,7 +36,6 @@ class LiveController
onReload();
},
);
loadingState.value = LoadingState.error(' -352 ');
return true;
}
return false;