mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
fixes bug
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run
This commit is contained in:
parent
20a2d61751
commit
85d6bdfcc9
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue