Skip to content

Commit f8870b8

Browse files
committed
feat: update DashboardBloc initialization to include topics and sources repositories
1 parent 1de5469 commit f8870b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/app/view/app.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ class App extends StatelessWidget {
112112
),
113113
BlocProvider(
114114
create: (context) => DashboardBloc(
115-
dashboardSummaryRepository: context
116-
.read<DataRepository<DashboardSummary>>(),
115+
dashboardSummaryRepository:
116+
context.read<DataRepository<DashboardSummary>>(),
117117
headlinesRepository: context.read<DataRepository<Headline>>(),
118+
topicsRepository: context.read<DataRepository<Topic>>(),
119+
sourcesRepository: context.read<DataRepository<Source>>(),
118120
),
119121
),
120122
],

0 commit comments

Comments
 (0)