mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 10:44:55 +00:00
Resend
This commit is contained in:
@ -383,16 +383,16 @@ class _OtpViewState extends State<OtpView> {
|
|||||||
if (success) {
|
if (success) {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (_) => SuccessDialog(
|
builder: (_) =>const SuccessDialog(
|
||||||
key: ValueKey(
|
key: ValueKey(
|
||||||
'SuccessDialog'),
|
'SuccessDialog'),
|
||||||
message: 'New OTP sent!',
|
message: 'New OTP sent!',
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
Future.delayed(Duration(seconds: 2),
|
// Future.delayed(Duration(seconds: 2),
|
||||||
() {
|
// () {
|
||||||
Navigator.of(context).pop();
|
// Navigator.of(context).pop();
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user