Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xsahil03x committed Jan 6, 2025
1 parent 706ea93 commit 4e85157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/stream_chat_flutter/lib/src/utils/extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ extension OriginalSizeX on Attachment {
if (input == null) return null;

try {
final size = ImageSizeGetter.getSize(input);
final size = ImageSizeGetter.getSizeResult(input).size;
if (size.needRotate) {
return Size(size.height.toDouble(), size.width.toDouble());
}
Expand Down
3 changes: 2 additions & 1 deletion packages/stream_chat_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies:
http_parser: ^4.0.2
image_gallery_saver_plus: ^3.0.5
image_picker: ^1.1.2
image_size_getter: ^2.1.3
image_size_getter: ^2.3.0
jiffy: ^6.2.1
just_audio: ^0.9.38
lottie: ^3.1.2
Expand All @@ -51,6 +51,7 @@ dependencies:
path_provider: ^2.1.3
photo_manager: ^3.2.0
photo_view: ^0.15.0
rate_limiter: ^1.0.0
rxdart: ^0.28.0
share_plus: ^10.0.2
shimmer: ^3.0.0
Expand Down

0 comments on commit 4e85157

Please sign in to comment.