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

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());
}

View File

@@ -38,7 +38,7 @@ class AuthTextField extends StatelessWidget {
focusedErrorBorder: border,
hintText: 'Введите e-mail',
hintStyle: const TextStyle(fontWeight: FontWeight.w400, height: 1.2),
errorStyle: SemiBold12px().style.copyWith(color: AppColors.red),
errorStyle: SemiBold12px().style.copyWith(color: AppColors.info_red),
suffixIconConstraints: const BoxConstraints(minWidth: 0, minHeight: 0),
suffixIcon: Padding(
padding: const EdgeInsets.only(right: 12).r,