Skip to content

Commit 21576f6

Browse files
committed
Merge branch 'develop'
2 parents e6ba88b + 478dbf2 commit 21576f6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

lib/constants.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Constants {
88
}
99

1010
// TODO remove version once #46609 is fixed
11-
const String kClientVersion = '5.0.32';
11+
const String kClientVersion = '5.0.33';
1212
const String kMinServerVersion = '5.0.4';
1313

1414
const String kAppName = 'Invoice Ninja';

lib/main.dart

+3
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ void main({bool isTesting = false}) async {
9797
options.release = kClientVersion;
9898
options.beforeSend = (SentryEvent event, {dynamic hint}) {
9999
final state = store.state;
100+
if (!state.account.reportErrors) {
101+
return null;
102+
}
100103
event = event.copyWith(
101104
environment: '${state.environment}'.split('.').last,
102105
extra: <String, dynamic>{

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: invoiceninja_flutter
22
description: Client for Invoice Ninja
3-
version: 5.0.32+32
3+
version: 5.0.33+33
44
author: Hillel Coren
55
homepage: https://invoiceninja.com
66
documentation: http://docs.invoiceninja.com

0 commit comments

Comments
 (0)