Skip to content

Commit e1800b5

Browse files
authored
Re-start SMS timer on resume (#1709)
2 parents ae19118 + 0bd9045 commit e1800b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

auth/src/main/java/com/firebase/ui/auth/ui/phone/SubmitConfirmationCodeFragment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ public void onResume() {
172172
}
173173
}
174174
}
175+
176+
mLooper.removeCallbacks(mCountdown);
177+
mLooper.postDelayed(mCountdown, TICK_INTERVAL_MILLIS);
175178
}
176179

177180
@Override

0 commit comments

Comments
 (0)