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
format
  • Loading branch information
denrase committed Oct 24, 2023
commit e4f71f38c98c30cee2b4ed992587552753294f53
1 change: 0 additions & 1 deletion flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class MyApp extends StatefulWidget {
}

class _MyAppState extends State<MyApp> {

@override
Widget build(BuildContext context) {
return feedback.BetterFeedback(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import '../sentry_flutter_options.dart';
import 'package:flutter/rendering.dart';
import '../renderer/renderer.dart';


class ScreenshotEventProcessor implements EventProcessor {
final SentryFlutterOptions _options;

Expand Down Expand Up @@ -40,7 +39,8 @@ class ScreenshotEventProcessor implements EventProcessor {
return event;
}

if (_options.attachScreenshotWhenResumed && WidgetsBinding.instance.lifecycleState != AppLifecycleState.resumed) {
if (_options.attachScreenshotWhenResumed &&
WidgetsBinding.instance.lifecycleState != AppLifecycleState.resumed) {
_options.logger(SentryLevel.debug,
'Only attaching screenshots when application state is resumed.');
return event;
Expand Down