Skip to content

Commit b91144b

Browse files
committed
chore: misc
1 parent b4f0f0b commit b91144b

9 files changed

+1
-9
lines changed

lib/content_management/view/archived_sources_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class _ArchivedSourcesView extends StatelessWidget {
4545
context.read<ContentManagementBloc>().add(
4646
const LoadSourcesRequested(limit: kDefaultRowsPerPage),
4747
);
48-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
4948
}
5049
},
5150
child: BlocBuilder<ArchivedSourcesBloc, ArchivedSourcesState>(

lib/content_management/view/archived_topics_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class _ArchivedTopicsView extends StatelessWidget {
4545
context
4646
.read<ContentManagementBloc>()
4747
.add(const LoadTopicsRequested(limit: kDefaultRowsPerPage));
48-
context.read<DashboardBloc>().add( DashboardSummaryLoaded());
4948
}
5049
},
5150
child: BlocBuilder<ArchivedTopicsBloc, ArchivedTopicsState>(

lib/content_management/view/create_headline_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ class _CreateHeadlineViewState extends State<_CreateHeadlineView> {
8989
// Refresh the list to show the new headline
9090
const LoadHeadlinesRequested(limit: kDefaultRowsPerPage),
9191
);
92-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
9392
context.pop();
9493
}
9594
if (state.status == CreateHeadlineStatus.failure) {

lib/content_management/view/create_source_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ class _CreateSourceViewState extends State<_CreateSourceView> {
8989
// Refresh the list to show the new source
9090
const LoadSourcesRequested(limit: kDefaultRowsPerPage),
9191
);
92-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
9392
context.pop();
9493
}
9594
if (state.status == CreateSourceStatus.failure) {

lib/content_management/view/create_topic_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class _CreateTopicViewState extends State<_CreateTopicView> {
8686
// Refresh the list to show the new topic
8787
const LoadTopicsRequested(limit: kDefaultRowsPerPage),
8888
);
89-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
9089
context.pop();
9190
}
9291
if (state.status == CreateTopicStatus.failure) {

lib/content_management/view/edit_headline_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ class _EditHeadlineViewState extends State<_EditHeadlineView> {
117117
context.read<ContentManagementBloc>().add(
118118
const LoadHeadlinesRequested(limit: kDefaultRowsPerPage),
119119
);
120-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
121120
context.pop();
122121
}
123122
if (state.status == EditHeadlineStatus.failure) {

lib/content_management/view/edit_source_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ class _EditSourceViewState extends State<_EditSourceView> {
114114
context.read<ContentManagementBloc>().add(
115115
const LoadSourcesRequested(limit: kDefaultRowsPerPage),
116116
);
117-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
118117
context.pop();
119118
}
120119
if (state.status == EditSourceStatus.failure) {

lib/content_management/view/edit_topic_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ class _EditTopicViewState extends State<_EditTopicView> {
111111
context.read<ContentManagementBloc>().add(
112112
const LoadTopicsRequested(limit: kDefaultRowsPerPage),
113113
);
114-
context.read<DashboardBloc>().add(DashboardSummaryLoaded());
115114
context.pop();
116115
}
117116
if (state.status == EditTopicStatus.failure) {

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ packages:
134134
description:
135135
path: "."
136136
ref: HEAD
137-
resolved-ref: "5a7bd9f597e98209bc7f5ac897cf64552306c02f"
137+
resolved-ref: d9fbbf33d8bb53724e2dd29d488a0c8eb9cbf6e8
138138
url: "https://github.com/flutter-news-app-full-source-code/data-repository.git"
139139
source: git
140140
version: "0.0.0"

0 commit comments

Comments
 (0)