mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-27 05:45:51 +08:00
@@ -699,7 +699,7 @@ abstract final class PageUtils {
|
||||
: const Offset(1.0, 0.0);
|
||||
return SlideTransition(
|
||||
position: animation.drive(
|
||||
Tween(
|
||||
Tween<Offset>(
|
||||
begin: begin,
|
||||
end: Offset.zero,
|
||||
).chain(CurveTween(curve: Curves.easeInOut)),
|
||||
|
||||
@@ -528,8 +528,8 @@ abstract final class RequestUtils {
|
||||
token: captchaData.token,
|
||||
validate: captchaData.validate,
|
||||
);
|
||||
if (res case Success(:final response)) {
|
||||
if (response != null && response['is_valid'] == 1) {
|
||||
if (res case Success(:final response?)) {
|
||||
if (response['is_valid'] == 1) {
|
||||
final griskId = response['grisk_id'];
|
||||
if (griskId is String) {
|
||||
onSuccess(griskId);
|
||||
|
||||
Reference in New Issue
Block a user