Обновлен проект. Добавлена БД

This commit is contained in:
2025-03-03 23:57:55 +03:00
parent 273e68557a
commit cb6ce05059
726 changed files with 9424 additions and 478 deletions

View File

@@ -39,7 +39,10 @@ class AuthCubit extends Cubit<AuthState> {
Future<void> sendCode(String code, String uid) async {
final bool res = await _authInterface.sendCode(code, uid);
if (!res) toInitialState();
if (!res) {
toInitialState();
return;
}
globalRouter.replace(CollectionRoute());
}