mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 12:48:41 +00:00
small bug fix
This commit is contained in:
parent
180c0679ed
commit
b880798b65
1 changed files with 2 additions and 4 deletions
|
|
@ -339,13 +339,11 @@ class _CameraPreviewViewState extends State<CameraPreviewView> {
|
||||||
|
|
||||||
if (pickedFile != null) {
|
if (pickedFile != null) {
|
||||||
File imageFile = File(pickedFile.path);
|
File imageFile = File(pickedFile.path);
|
||||||
if (await pushMediaEditor(
|
await pushMediaEditor(
|
||||||
imageFile.readAsBytes(),
|
imageFile.readAsBytes(),
|
||||||
null,
|
null,
|
||||||
sharedFromGallery: true,
|
sharedFromGallery: true,
|
||||||
)) {
|
);
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
setState(() {
|
setState(() {
|
||||||
galleryLoadedImageIsShown = false;
|
galleryLoadedImageIsShown = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue