File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/content_management/view Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ class _ArchivedHeadlinesView extends StatelessWidget {
38
38
padding: const EdgeInsets .all (AppSpacing .lg),
39
39
child: BlocListener <ArchivedHeadlinesBloc , ArchivedHeadlinesState >(
40
40
listenWhen: (previous, current) =>
41
- previous.status != current.status,
41
+ previous.status != current.status ||
42
+ previous.restoredHeadline != current.restoredHeadline,
42
43
listener: (context, state) {
43
44
if (state.status == ArchivedHeadlinesStatus .success &&
44
45
state.restoredHeadline != null ) {
@@ -138,7 +139,6 @@ class _ArchivedHeadlinesView extends StatelessWidget {
138
139
);
139
140
}
140
141
}
141
- }
142
142
143
143
class _HeadlinesDataSource extends DataTableSource {
144
144
_HeadlinesDataSource ({
You can’t perform that action at this time.
0 commit comments