Skip to content

Commit f5bbc6d

Browse files
committed
Daftarkan instance SetupCredentialBloc kedalam injection_container.dart
1 parent 0e9d736 commit f5bbc6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/injection_container.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ import 'package:dipantau_desktop_client/feature/presentation/bloc/project/projec
6161
import 'package:dipantau_desktop_client/feature/presentation/bloc/report_screenshot/report_screenshot_bloc.dart';
6262
import 'package:dipantau_desktop_client/feature/presentation/bloc/reset_password/reset_password_bloc.dart';
6363
import 'package:dipantau_desktop_client/feature/presentation/bloc/setting/setting_bloc.dart';
64+
import 'package:dipantau_desktop_client/feature/presentation/bloc/setup_credential/setup_credential_bloc.dart';
6465
import 'package:dipantau_desktop_client/feature/presentation/bloc/sign_up/sign_up_bloc.dart';
6566
import 'package:dipantau_desktop_client/feature/presentation/bloc/sync_manual/sync_manual_bloc.dart';
6667
import 'package:dipantau_desktop_client/feature/presentation/bloc/tracking/tracking_bloc.dart';
@@ -173,6 +174,12 @@ void init() {
173174
getProjectTaskByUserId: sl(),
174175
),
175176
);
177+
sl.registerFactory(
178+
() => SetupCredentialBloc(
179+
helper: sl(),
180+
ping: sl(),
181+
),
182+
);
176183

177184
// use case
178185
sl.registerLazySingleton(() => GetProject(repository: sl()));

0 commit comments

Comments
 (0)