Skip to content

Commit

Permalink
add return stmt to checkPhoneStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaElattar committed Jan 15, 2025
1 parent 344f8ec commit b992289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/screens/identity_verification_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ class _IdentityVerificationScreenState
Globals().smsSentOn + (Globals().smsMinutesCoolDown * 60 * 1000);

if (lockedUntil > currentTime) {
Globals().hidePhoneButton.value = true;
return Globals().hidePhoneButton.value = true;
} else if (phoneCountdownNotifier.value <= 0) {
Globals().hidePhoneButton.value = false;
return Globals().hidePhoneButton.value = false;
}
}

Expand Down

0 comments on commit b992289

Please sign in to comment.