Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename option
  • Loading branch information
denrase committed Nov 6, 2023
commit d2d85679612ddfb23452281b57760d2224045e61
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ScreenshotEventProcessor implements EventProcessor {
return event;
}

if (_options.attachScreenshotWhenResumed &&
if (_options.attachScreenshotOnlyWhenResumed &&
widget.WidgetsBinding.instance.lifecycleState !=
AppLifecycleState.resumed) {
_options.logger(SentryLevel.debug,
Expand Down
2 changes: 1 addition & 1 deletion flutter/lib/src/sentry_flutter_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class SentryFlutterOptions extends SentryOptions {
SentryScreenshotQuality screenshotQuality = SentryScreenshotQuality.high;

/// Only attach a screenshot when the app is resumed.
bool attachScreenshotWhenResumed = false;
bool attachScreenshotOnlyWhenResumed = false;

/// Enable or disable automatic breadcrumbs for User interactions Using [Listener]
///
Expand Down