fixes bug
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run

This commit is contained in:
otsmr 2025-12-27 23:02:48 +01:00
parent 20a2d61751
commit 85d6bdfcc9

View file

@ -449,6 +449,10 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
x.showCustomButtons = false; x.showCustomButtons = false;
} }
setState(() {}); setState(() {});
// Make a short delay, so the setState does have its effect...
await Future.delayed(const Duration(milliseconds: 10));
final image = await screenshotController.capture( final image = await screenshotController.capture(
pixelRatio: pixelRatio, pixelRatio: pixelRatio,
); );