Skip to content

Commit

Permalink
enh: use ensureVisualUpdate instead of scheduleFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Dec 5, 2024
1 parent 5b93f8d commit 96ece56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter/lib/src/replay/scheduled_recorder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ScheduledScreenshotRecorder extends ScreenshotRecorder {
// actions, there may not be any frame captured for a long time so even
// the IdleFrameFiller won't have anything to repeat. This would appear
// as if the replay was broken.
options.bindingUtils.instance!.scheduleFrame();
options.bindingUtils.instance!.ensureVisualUpdate();
}

Future<void> stop() async {
Expand Down

0 comments on commit 96ece56

Please sign in to comment.