Skip to content

Commit

Permalink
Revert "fix: ignore false positive lints"
Browse files Browse the repository at this point in the history
This reverts commit 72b50ac.

Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Aug 16, 2024
1 parent 78688e2 commit 955f599
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class _FilesMainPageState extends State<FilesMainPage> {
bloc = NeonProvider.of<FilesBloc>(context);

errorsSubscription = bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class _FilesBrowserViewState extends State<FilesBrowserView> {
@override
void initState() {
errorsSubscription = widget.bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class _NewsArticlePageState extends State<NewsArticlePage> {
super.initState();

errorsSubscription = widget.bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class _NewsMainPageState extends State<NewsMainPage> {
index = NeonProvider.of<NewsOptions>(context).defaultCategoryOption.value.index;

errorsSubscription = bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class _NewsArticlesViewState extends State<NewsArticlesView> {
super.initState();

errorsSubscription = widget.bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class _NotesMainPageState extends State<NotesMainPage> {
index = NeonProvider.of<NotesOptions>(context).defaultCategoryOption.value.index;

errorsSubscription = bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
handleNotesException(context, error);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class _NotesNotePageState extends State<NotesNotePage> {
super.initState();

errorsSubscription = widget.bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
handleNotesException(context, error);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class _NotificationsMainPageState extends State<NotificationsMainPage> {
bloc = NeonProvider.of<NotificationsBlocInterface>(context) as NotificationsBloc;

errorsSubscription = bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class _TalkMainPageState extends State<TalkMainPage> {

bloc = NeonProvider.of<TalkBloc>(context);
errorsSubscription = bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class _TalkRoomPageState extends State<TalkRoomPage> {
bloc = NeonProvider.of<TalkRoomBloc>(context);

errorsSubscription = bloc.errors.listen((error) {
// ignore: use_build_context_synchronously
NeonError.showSnackbar(context, error);
});
}
Expand Down

0 comments on commit 955f599

Please sign in to comment.