Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): correct maximumSizeBytes setter to use maximumSizeBytes property (#27098)

Luis Nachtigall644f705be14f
diff --git a/mobile/lib/utils/cache/custom_image_cache.dart b/mobile/lib/utils/cache/custom_image_cache.dart
index 99ce0db57c..2c09030ffa 100644
--- a/mobile/lib/utils/cache/custom_image_cache.dart
+++ b/mobile/lib/utils/cache/custom_image_cache.dart
@@ -20,7 +20,7 @@ final class CustomImageCache implements ImageCache {
set maximumSize(int value) => _small.maximumSize = value;
@override
- set maximumSizeBytes(int value) => _small.maximumSize = value;
+ set maximumSizeBytes(int value) => _small.maximumSizeBytes = value;
@override
void clear() {