From 83202204b094cf8c05c1acf05d4430b3ad5e3557 Mon Sep 17 00:00:00 2001 From: Faris Armoush Date: Wed, 9 Jul 2025 15:58:17 +0300 Subject: [PATCH] Remove BlocProvider for UpdateSpaceBloc in SpaceDetailsDialogHelper to streamline dependency management and improve code clarity. --- .../presentation/helpers/space_details_dialog_helper.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/pages/space_management_v2/modules/space_details/presentation/helpers/space_details_dialog_helper.dart b/lib/pages/space_management_v2/modules/space_details/presentation/helpers/space_details_dialog_helper.dart index d66d28f4..031e0399 100644 --- a/lib/pages/space_management_v2/modules/space_details/presentation/helpers/space_details_dialog_helper.dart +++ b/lib/pages/space_management_v2/modules/space_details/presentation/helpers/space_details_dialog_helper.dart @@ -24,11 +24,6 @@ abstract final class SpaceDetailsDialogHelper { RemoteSpaceDetailsService(httpService: HTTPService()), ), ), - BlocProvider( - create: (context) => UpdateSpaceBloc( - RemoteUpdateSpaceService(HTTPService()), - ), - ), ], child: Builder( builder: (context) => SpaceDetailsDialog(