mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 07:48:40 +00:00
fix analyzer
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
910f5f79fa
commit
987a55dc65
1 changed files with 2 additions and 2 deletions
|
|
@ -437,9 +437,9 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
|
|||
return null;
|
||||
}
|
||||
if (media.type == MediaType.image || media.type == MediaType.gif) {
|
||||
mediaService.originalPath.writeAsBytesSync(bytes!);
|
||||
mediaService.originalPath.writeAsBytesSync(bytes);
|
||||
} else if (media.type == MediaType.video) {
|
||||
mediaService.overlayImagePath.writeAsBytesSync(bytes!);
|
||||
mediaService.overlayImagePath.writeAsBytesSync(bytes);
|
||||
} else {
|
||||
Log.error('MediaType not supported: ${media.type}');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue