Skip to content

Commit b378b80

Browse files
committed
fixed error
1 parent d807f6d commit b378b80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/login.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ class _MyLoginState extends State<MyLogin> {
550550
headers: headers, body: ExpirePayload);
551551

552552
if (onExpire.statusCode != 200) {
553-
print("Expire request failed: ${onExpire.statusCode}");
553+
_showError("Expire request failed: ${onExpire.statusCode}");
554554
return;
555555
}
556556

@@ -566,7 +566,7 @@ class _MyLoginState extends State<MyLogin> {
566566
});
567567
_startTimer();
568568
} else {
569-
print("Failed to send OTP: ${response.statusCode}");
569+
_showError("Failed to send OTP: ${response.statusCode}");
570570
}
571571
}
572572

0 commit comments

Comments
 (0)