Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Dec 13, 2024
1 parent 56b11b6 commit e6aa9bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ class FramesTrackingIntegration implements Integration<SentryFlutterOptions> {
SentryWidgetsBindingMixin? _widgetsBinding;

@override
Future<void> call(Hub hub, SentryFlutterOptions options) async {
void call(Hub hub, SentryFlutterOptions options) {
_options = options;
_initializeFramesTracking(options);
}

void _initializeFramesTracking(SentryFlutterOptions options) async {
if (!options.enableFramesTracking) {
return options.logger(SentryLevel.debug,
'$FramesTrackingIntegration disabled: enableFramesTracking option is false');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class NativeAppStartIntegration extends Integration<SentryFlutterOptions> {
bool _allowProcessing = true;

@override
void call(Hub hub, SentryFlutterOptions options) async {
void call(Hub hub, SentryFlutterOptions options) {
void timingsCallback(List<FrameTiming> timings) async {
if (!_allowProcessing) {
return;
Expand Down

0 comments on commit e6aa9bf

Please sign in to comment.