This commit is contained in:
mohammad
2024-10-30 12:18:16 +03:00
parent bfd9c557ce
commit 5d32fc1213

View File

@ -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();
// });
}
},
),