From 68ab4607c402ada42521abd549943a75d78e2b2e Mon Sep 17 00:00:00 2001 From: Cirrus CI Date: Sun, 7 Jul 2024 19:01:30 +0000 Subject: [PATCH] minor fix --- .../smooth_app/lib/helpers/analytics_helper.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/smooth_app/lib/helpers/analytics_helper.dart b/packages/smooth_app/lib/helpers/analytics_helper.dart index ab200150067..5170bc65a53 100644 --- a/packages/smooth_app/lib/helpers/analytics_helper.dart +++ b/packages/smooth_app/lib/helpers/analytics_helper.dart @@ -221,9 +221,9 @@ class AnalyticsHelper { ..dsn = 'https://22ec5d0489534b91ba455462d3736680@o241488.ingest.sentry.io/5376745' ..beforeSend = ( - SentryEvent event, { - Hint? hint, - }) async { + SentryEvent event, + Hint hint, + ) async { return event.copyWith( tags: { 'store': GlobalVars.storeLabel.name, @@ -265,8 +265,10 @@ class AnalyticsHelper { static bool get isEnabled => _analyticsReporting == _AnalyticsTrackingMode.enabled; - static FutureOr _beforeSend(SentryEvent event, - {dynamic hint}) async { + static FutureOr _beforeSend( + SentryEvent event, + dynamic hint, + ) async { if (!_crashReports) { return null; }