diff --git a/lib/widgets/auth/sms-popup.dart b/lib/widgets/auth/sms-popup.dart index 5f073eca..cf16a0f1 100644 --- a/lib/widgets/auth/sms-popup.dart +++ b/lib/widgets/auth/sms-popup.dart @@ -18,8 +18,6 @@ class SMSOTP { int remainingTime = 600; - Future timer; - SMSOTP( this.context, this.type, @@ -337,12 +335,11 @@ class SMSOTP { startTimer(setState) { this.remainingTime--; - print(isClosed); setState(() { displayTime = this.getSecondsAsDigitalClock(this.remainingTime); }); - timer = Future.delayed(Duration(seconds: 1), () { + Future.delayed(Duration(seconds: 1), () { if (this.remainingTime > 0) { if (isClosed == false) startTimer(setState); } else {