From 0b5e235053059bb3c1f370c5bec23e7e3bdaddb6 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Fri, 26 Jan 2024 22:10:59 +0100 Subject: [PATCH] report fix --- plugins/aves_report_crashlytics/lib/aves_report_platform.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/aves_report_crashlytics/lib/aves_report_platform.dart b/plugins/aves_report_crashlytics/lib/aves_report_platform.dart index 876644568..11337eff3 100644 --- a/plugins/aves_report_crashlytics/lib/aves_report_platform.dart +++ b/plugins/aves_report_crashlytics/lib/aves_report_platform.dart @@ -71,7 +71,7 @@ class PlatformReportService extends ReportService { if (exception is PlatformException && stack != null) { stack = ReportService.buildReportStack(stack, level: 2); } - if (exception! is UnreportedStateError) { + if (exception is! UnreportedStateError) { return _instance?.recordError(exception, stack); } }