Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Jan 8, 2025
1 parent 9bedc01 commit 32f5b35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flutter/test/replay/scheduler_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class _Fixture {

Future<void> drawFrame() {
registeredCallback = Completer<FrameCallback>();
return registeredCallback.future
.then((fn) => fn(Duration(milliseconds: ++_frames)));
final timestamp = Duration(milliseconds: ++_frames);
return registeredCallback.future.then((fn) => fn(timestamp));
}
}

0 comments on commit 32f5b35

Please sign in to comment.