We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d807f6d commit b378b80Copy full SHA for b378b80
lib/login.dart
@@ -550,7 +550,7 @@ class _MyLoginState extends State<MyLogin> {
550
headers: headers, body: ExpirePayload);
551
552
if (onExpire.statusCode != 200) {
553
- print("Expire request failed: ${onExpire.statusCode}");
+ _showError("Expire request failed: ${onExpire.statusCode}");
554
return;
555
}
556
@@ -566,7 +566,7 @@ class _MyLoginState extends State<MyLogin> {
566
});
567
_startTimer();
568
} else {
569
- print("Failed to send OTP: ${response.statusCode}");
+ _showError("Failed to send OTP: ${response.statusCode}");
570
571
572
0 commit comments