Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirrus CI committed Jul 7, 2024
1 parent 11753b3 commit 68ab460
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/smooth_app/lib/helpers/analytics_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ class AnalyticsHelper {
..dsn =
'https://[email protected]/5376745'
..beforeSend = (
SentryEvent event, {
Hint? hint,
}) async {
SentryEvent event,
Hint hint,
) async {
return event.copyWith(
tags: <String, String>{
'store': GlobalVars.storeLabel.name,
Expand Down Expand Up @@ -265,8 +265,10 @@ class AnalyticsHelper {
static bool get isEnabled =>
_analyticsReporting == _AnalyticsTrackingMode.enabled;

static FutureOr<SentryEvent?> _beforeSend(SentryEvent event,
{dynamic hint}) async {
static FutureOr<SentryEvent?> _beforeSend(
SentryEvent event,
dynamic hint,
) async {
if (!_crashReports) {
return null;
}
Expand Down

0 comments on commit 68ab460

Please sign in to comment.