Merge branch 'kristian/image-dependency' into 'main'
chore: Update image dependency to 4.0.15 See merge request famedly/company/frontend/famedlysdk!1273
This commit is contained in:
commit
41485350d9
|
|
@ -259,7 +259,7 @@ class MatrixImageFile extends MatrixFile {
|
||||||
height: image.height > image.width ? arguments.maxDimension : null,
|
height: image.height > image.width ? arguments.maxDimension : null,
|
||||||
width: image.width >= image.height ? arguments.maxDimension : null);
|
width: image.width >= image.height ? arguments.maxDimension : null);
|
||||||
|
|
||||||
final encoded = encodeNamedImage(resized, arguments.fileName);
|
final encoded = encodeNamedImage(arguments.fileName, resized);
|
||||||
if (encoded == null) return null;
|
if (encoded == null) return null;
|
||||||
final bytes = Uint8List.fromList(encoded);
|
final bytes = Uint8List.fromList(encoded);
|
||||||
return MatrixImageFileResizedResponse(
|
return MatrixImageFileResizedResponse(
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ dependencies:
|
||||||
html: ^0.15.0
|
html: ^0.15.0
|
||||||
html_unescape: ^2.0.0
|
html_unescape: ^2.0.0
|
||||||
http: ^0.13.0
|
http: ^0.13.0
|
||||||
image: ^3.1.1
|
image: ^4.0.15
|
||||||
js: ^0.6.3
|
js: ^0.6.3
|
||||||
markdown: ^4.0.0
|
markdown: ^4.0.0
|
||||||
matrix_api_lite: ^1.6.1
|
matrix_api_lite: ^1.6.1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue