Skip to content

Commit

Permalink
back to old operator==
Browse files Browse the repository at this point in the history
  • Loading branch information
drxddy committed Jan 27, 2024
1 parent 3fafbaa commit fb04776
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [1.2.3](https://github.com/folksable/blurhash_ffi/tree/61c0256724b9fd637691b24a8ca8dfda5f54e779)
## [1.2.3](https://github.com/folksable/blurhash_ffi/tree/3fafbaaca9898db37d25d4cb8f5b613f7716c2e8)
* Fix changelog order

## [1.2.2](https://github.com/folksable/blurhash_ffi/tree/709e0c6ed1f6e9e96000adb2dae643e400fe76d4)
Expand Down
4 changes: 2 additions & 2 deletions lib/uiImage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class UiImage extends ImageProvider<UiImage> {
}

@override
bool operator ==(Object other) {
bool operator ==(dynamic other) {
if (other.runtimeType != runtimeType) return false;
final UiImage typedOther = (other as UiImage);
final UiImage typedOther = other;
return image == typedOther.image && scale == typedOther.scale;
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: blurhash_ffi
description: >-
A compact, fast and easy to use blurry image placeholder generator for Flutter
using native ffi bindings.
version: 1.2.2
version: 1.2.3
repository: https://github.com/folksable/blurhash_ffi
issue_tracker: https://github.com/folksable/blurhash_ffi/issues
funding:
Expand Down

0 comments on commit fb04776

Please sign in to comment.