From a6c99352e627d1f42a783dc82c80cd4a8c44c0c6 Mon Sep 17 00:00:00 2001 From: Erisan Olasheni Date: Sun, 10 Dec 2023 19:06:10 +0100 Subject: [PATCH] Minor fix on the operator check Made minor change on the `==` operator to validate if the compared `Object` `imageProvider` matches the current `Object`. --- lib/logic/common/retry_image.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logic/common/retry_image.dart b/lib/logic/common/retry_image.dart index 11309527..8fb9d294 100644 --- a/lib/logic/common/retry_image.dart +++ b/lib/logic/common/retry_image.dart @@ -90,7 +90,7 @@ class RetryImage extends ImageProvider { if (other.runtimeType != runtimeType) { return false; } - return other is RetryImage && other.imageProvider == other.imageProvider && other.scale == scale; + return other is RetryImage && other.imageProvider == imageProvider && other.scale == scale; } @override