fix image attachment with new cdn

This commit is contained in:
Salvatore Giordano
2021-03-04 10:47:25 +01:00
parent 8e701d3f0c
commit 505bffb6ca
2 changed files with 3 additions and 3 deletions
@@ -2,6 +2,6 @@
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
location = "self:">
</FileRef>
</Workspace>
@@ -63,8 +63,8 @@ class ImageAttachment extends AttachmentWidget {
if (imageUri.host == 'stream-io-cdn.com') {
imageUri = imageUri.replace(queryParameters: {
...imageUri.queryParameters,
'height': '500',
'width': '500',
'h': '500',
'w': '500',
'crop': 'center',
'resize': 'crop',
});