refactor: change singleton registrations to lazySingleton for improved performance
This commit is contained in:
@@ -27,7 +27,7 @@ class ViewOrdersModule extends Module {
|
||||
i.add(GetAcceptedApplicationsForDayUseCase.new);
|
||||
|
||||
// BLoCs
|
||||
i.addSingleton(ViewOrdersCubit.new);
|
||||
i.addLazySingleton(ViewOrdersCubit.new);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user