feat(apps): refine login consent and calendar day/month UX

This commit is contained in:
qzl
2026-03-20 19:00:24 +08:00
parent 2e94908eaa
commit fcf98b1142
11 changed files with 359 additions and 58 deletions
@@ -130,6 +130,7 @@ class LoginCubit extends Cubit<LoginState> {
final requestPhone = state.e164Phone;
emit(state.copyWith(isSendingCode: true, errorMessage: null));
_startResendCooldown();
try {
await _repository.sendOtp(requestPhone);
if (isClosed) {
@@ -146,7 +147,6 @@ class LoginCubit extends Cubit<LoginState> {
errorMessage: null,
),
);
_startResendCooldown();
return true;
} catch (e) {
if (isClosed) {