fix add new card in bottomsheet

This commit is contained in:
2026-07-13 11:49:00 +03:00
parent 98c5a7a1d1
commit e91f373258
9 changed files with 82 additions and 16 deletions

View File

@@ -4,7 +4,6 @@ import 'package:go_router/go_router.dart';
import 'package:intl/intl.dart';
import '../../core/app_colors.dart';
import '../../di/service_locator.dart';
import '../../domain/entities/user_profile.dart';
import '../components/custom_app_bar.dart';
import '../components/gradient_button.dart';
@@ -107,7 +106,7 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
}
if (state.isSuccess) {
getIt<ProfileBloc>().add(ProfileUpdated());
context.read<ProfileBloc>().add(ProfileUpdated());
context.pop();
}
if (state.error != null) {