From 955f599b2018f166079175715cd7cb3b0280a299 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Fri, 16 Aug 2024 08:17:22 +0200 Subject: [PATCH] Revert "fix: ignore false positive lints" This reverts commit 72b50acf35762f077f1c123be558a746c5ffacb9. Signed-off-by: provokateurin --- .../neon_framework/packages/files_app/lib/src/pages/main.dart | 1 - .../packages/files_app/lib/src/widgets/browser_view.dart | 1 - .../neon_framework/packages/news_app/lib/src/pages/article.dart | 1 - .../neon_framework/packages/news_app/lib/src/pages/main.dart | 1 - .../packages/news_app/lib/src/widgets/articles_view.dart | 1 - .../neon_framework/packages/notes_app/lib/src/pages/main.dart | 1 - .../neon_framework/packages/notes_app/lib/src/pages/note.dart | 1 - .../packages/notifications_app/lib/src/pages/main.dart | 1 - .../neon_framework/packages/talk_app/lib/src/pages/main.dart | 1 - .../neon_framework/packages/talk_app/lib/src/pages/room.dart | 1 - 10 files changed, 10 deletions(-) diff --git a/packages/neon_framework/packages/files_app/lib/src/pages/main.dart b/packages/neon_framework/packages/files_app/lib/src/pages/main.dart index 091e0b5c552..06463fc8743 100644 --- a/packages/neon_framework/packages/files_app/lib/src/pages/main.dart +++ b/packages/neon_framework/packages/files_app/lib/src/pages/main.dart @@ -28,7 +28,6 @@ class _FilesMainPageState extends State { bloc = NeonProvider.of(context); errorsSubscription = bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); } diff --git a/packages/neon_framework/packages/files_app/lib/src/widgets/browser_view.dart b/packages/neon_framework/packages/files_app/lib/src/widgets/browser_view.dart index b20e6fe6f2e..2db746fa4b7 100644 --- a/packages/neon_framework/packages/files_app/lib/src/widgets/browser_view.dart +++ b/packages/neon_framework/packages/files_app/lib/src/widgets/browser_view.dart @@ -38,7 +38,6 @@ class _FilesBrowserViewState extends State { @override void initState() { errorsSubscription = widget.bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); diff --git a/packages/neon_framework/packages/news_app/lib/src/pages/article.dart b/packages/neon_framework/packages/news_app/lib/src/pages/article.dart index 6d00fe39f20..8dde8f5fcda 100644 --- a/packages/neon_framework/packages/news_app/lib/src/pages/article.dart +++ b/packages/neon_framework/packages/news_app/lib/src/pages/article.dart @@ -47,7 +47,6 @@ class _NewsArticlePageState extends State { super.initState(); errorsSubscription = widget.bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); diff --git a/packages/neon_framework/packages/news_app/lib/src/pages/main.dart b/packages/neon_framework/packages/news_app/lib/src/pages/main.dart index cd7a3fead24..53ebab8849d 100644 --- a/packages/neon_framework/packages/news_app/lib/src/pages/main.dart +++ b/packages/neon_framework/packages/news_app/lib/src/pages/main.dart @@ -34,7 +34,6 @@ class _NewsMainPageState extends State { index = NeonProvider.of(context).defaultCategoryOption.value.index; errorsSubscription = bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); } diff --git a/packages/neon_framework/packages/news_app/lib/src/widgets/articles_view.dart b/packages/neon_framework/packages/news_app/lib/src/widgets/articles_view.dart index 6b7ac5ff864..72207c4b01a 100644 --- a/packages/neon_framework/packages/news_app/lib/src/widgets/articles_view.dart +++ b/packages/neon_framework/packages/news_app/lib/src/widgets/articles_view.dart @@ -49,7 +49,6 @@ class _NewsArticlesViewState extends State { super.initState(); errorsSubscription = widget.bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); diff --git a/packages/neon_framework/packages/notes_app/lib/src/pages/main.dart b/packages/neon_framework/packages/notes_app/lib/src/pages/main.dart index ec83749d1f1..29e5af394f1 100644 --- a/packages/neon_framework/packages/notes_app/lib/src/pages/main.dart +++ b/packages/neon_framework/packages/notes_app/lib/src/pages/main.dart @@ -34,7 +34,6 @@ class _NotesMainPageState extends State { index = NeonProvider.of(context).defaultCategoryOption.value.index; errorsSubscription = bloc.errors.listen((error) { - // ignore: use_build_context_synchronously handleNotesException(context, error); }); } diff --git a/packages/neon_framework/packages/notes_app/lib/src/pages/note.dart b/packages/neon_framework/packages/notes_app/lib/src/pages/note.dart index e8d4b57741b..eeba26cee21 100644 --- a/packages/neon_framework/packages/notes_app/lib/src/pages/note.dart +++ b/packages/neon_framework/packages/notes_app/lib/src/pages/note.dart @@ -49,7 +49,6 @@ class _NotesNotePageState extends State { super.initState(); errorsSubscription = widget.bloc.errors.listen((error) { - // ignore: use_build_context_synchronously handleNotesException(context, error); }); diff --git a/packages/neon_framework/packages/notifications_app/lib/src/pages/main.dart b/packages/neon_framework/packages/notifications_app/lib/src/pages/main.dart index 242869bee8d..09b8f70b37a 100644 --- a/packages/neon_framework/packages/notifications_app/lib/src/pages/main.dart +++ b/packages/neon_framework/packages/notifications_app/lib/src/pages/main.dart @@ -30,7 +30,6 @@ class _NotificationsMainPageState extends State { bloc = NeonProvider.of(context) as NotificationsBloc; errorsSubscription = bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); } diff --git a/packages/neon_framework/packages/talk_app/lib/src/pages/main.dart b/packages/neon_framework/packages/talk_app/lib/src/pages/main.dart index 3fcd562196c..eba2449e683 100644 --- a/packages/neon_framework/packages/talk_app/lib/src/pages/main.dart +++ b/packages/neon_framework/packages/talk_app/lib/src/pages/main.dart @@ -40,7 +40,6 @@ class _TalkMainPageState extends State { bloc = NeonProvider.of(context); errorsSubscription = bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); } diff --git a/packages/neon_framework/packages/talk_app/lib/src/pages/room.dart b/packages/neon_framework/packages/talk_app/lib/src/pages/room.dart index c2fa08ea1e6..567efd3b5a7 100644 --- a/packages/neon_framework/packages/talk_app/lib/src/pages/room.dart +++ b/packages/neon_framework/packages/talk_app/lib/src/pages/room.dart @@ -38,7 +38,6 @@ class _TalkRoomPageState extends State { bloc = NeonProvider.of(context); errorsSubscription = bloc.errors.listen((error) { - // ignore: use_build_context_synchronously NeonError.showSnackbar(context, error); }); }