mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 10:38:41 +00:00
buf fix
This commit is contained in:
parent
23f678a36d
commit
59b73b3213
1 changed files with 3 additions and 3 deletions
|
|
@ -419,10 +419,10 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
|
||||||
: FaIcon(FontAwesomeIcons.solidPaperPlane),
|
: FaIcon(FontAwesomeIcons.solidPaperPlane),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
if (sendingImage) return;
|
if (sendingImage) return;
|
||||||
setState(() {
|
|
||||||
sendingImage = true;
|
|
||||||
});
|
|
||||||
if (globalSendNextMediaToUser != null) {
|
if (globalSendNextMediaToUser != null) {
|
||||||
|
setState(() {
|
||||||
|
sendingImage = true;
|
||||||
|
});
|
||||||
Uint8List? imageBytes = await getMergedImage();
|
Uint8List? imageBytes = await getMergedImage();
|
||||||
if (!context.mounted) return;
|
if (!context.mounted) return;
|
||||||
if (imageBytes == null) {
|
if (imageBytes == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue