Skip to content

Commit d2d8567

Browse files
committed
Rename option
1 parent 3f8c8d0 commit d2d8567

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flutter/lib/src/event_processor/screenshot_event_processor.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ScreenshotEventProcessor implements EventProcessor {
3939
return event;
4040
}
4141

42-
if (_options.attachScreenshotWhenResumed &&
42+
if (_options.attachScreenshotOnlyWhenResumed &&
4343
widget.WidgetsBinding.instance.lifecycleState !=
4444
AppLifecycleState.resumed) {
4545
_options.logger(SentryLevel.debug,

flutter/lib/src/sentry_flutter_options.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class SentryFlutterOptions extends SentryOptions {
168168
SentryScreenshotQuality screenshotQuality = SentryScreenshotQuality.high;
169169

170170
/// Only attach a screenshot when the app is resumed.
171-
bool attachScreenshotWhenResumed = false;
171+
bool attachScreenshotOnlyWhenResumed = false;
172172

173173
/// Enable or disable automatic breadcrumbs for User interactions Using [Listener]
174174
///

0 commit comments

Comments
 (0)