Skip to content

Commit e8c507b

Browse files
committed
refactor(root): remove unused listener
1 parent a8439c1 commit e8c507b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/features/root/view/root_page.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ class _RootPageState extends State<RootPage> with LoggerMixin {
6060
}
6161
},
6262
),
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-
),
7363
BlocListener<NotificationBloc, NotificationState>(
7464
listener: (context, state) {
7565
if (state.status == NotificationStatus.loading) {

0 commit comments

Comments
 (0)