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