mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 14:06:47 +00:00
fix null pointer issue
This commit is contained in:
parent
ef4b799861
commit
febf236147
1 changed files with 3 additions and 1 deletions
|
|
@ -403,7 +403,9 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
|
|||
for (final x in layers) {
|
||||
x.showCustomButtons = true;
|
||||
}
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue