File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
flutter/lib/src/integrations Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,13 @@ class WebAppStartIntegration extends Integration<SentryFlutterOptions> {
2828 final startTimeStamp = hub.options.clock ();
2929 // expose id so SentryFlutter.currentDisplay() can return something
3030 options.timeToDisplayTracker.transactionId = transactionContext.spanId;
31+ final transaction = hub.startTransactionWithContext (
32+ transactionContext,
33+ startTimestamp: startTimeStamp,
34+ );
3135
3236 _framesHandler.addPostFrameCallback ((_) async {
3337 final endTimestamp = options.clock ();
34- final transaction = hub.startTransactionWithContext (
35- transactionContext,
36- startTimestamp: startTimeStamp,
37- );
38-
3938 await options.timeToDisplayTracker.track (
4039 transaction,
4140 ttidEndTimestamp: endTimestamp,
You can’t perform that action at this time.
0 commit comments