Skip to content

Commit 95045b2

Browse files
committed
feat(app): add app config to app bloc
- Added app config repository - Injected into app bloc
1 parent 1393b60 commit 95045b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/app/view/app.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ class App extends StatelessWidget {
7070
create:
7171
(context) => AppBloc(
7272
authenticationRepository: context.read<HtAuthRepository>(),
73-
// Pass generic data repositories for preferences
7473
userAppSettingsRepository:
7574
context.read<HtDataRepository<UserAppSettings>>(),
75+
appConfigRepository: // Added
76+
context.read<HtDataRepository<AppConfig>>(), // Added
7677
),
7778
),
7879
BlocProvider(

0 commit comments

Comments
 (0)