We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8439c1 commit e8c507bCopy full SHA for e8c507b
lib/features/root/view/root_page.dart
@@ -60,16 +60,6 @@ class _RootPageState extends State<RootPage> with LoggerMixin {
60
}
61
},
62
),
63
- BlocListener<AutoNotificationCubit, AutoNoticeState>(
64
- listenWhen: (prev, curr) => curr is AutoNoticeStatePending && prev != curr,
65
- listener: (context, state) {
66
- // Add this check to make dart-analyzer happy.
67
- if (state is! AutoNoticeStatePending) {
68
- return;
69
- }
70
- debug('auto fetch got notice');
71
- },
72
- ),
73
BlocListener<NotificationBloc, NotificationState>(
74
listener: (context, state) {
75
if (state.status == NotificationStatus.loading) {
0 commit comments