refactor: Update to Dart 3.10 with . shorthands
This commit is contained in:
parent
75a37f3f7c
commit
1ea649f01e
167 changed files with 3351 additions and 3912 deletions
|
|
@ -39,10 +39,7 @@ extension ResizeImage on XFile {
|
|||
try {
|
||||
final bytes = await VideoCompress.getByteThumbnail(path);
|
||||
if (bytes == null) return null;
|
||||
return MatrixImageFile(
|
||||
bytes: bytes,
|
||||
name: name,
|
||||
);
|
||||
return MatrixImageFile(bytes: bytes, name: name);
|
||||
} catch (e, s) {
|
||||
Logs().w('Error while compressing video', e, s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue