Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Resolve warnings

laurenspriem1d19d69db965
diff --git a/mobile/apps/photos/lib/core/cache/lru_map.dart b/mobile/apps/photos/lib/core/cache/lru_map.dart
index 9e28c84c09..d3760d5809 100644
--- a/mobile/apps/photos/lib/core/cache/lru_map.dart
+++ b/mobile/apps/photos/lib/core/cache/lru_map.dart
@@ -24,7 +24,7 @@ class LRUMap<K, V> {
final K evictedKey = _map.keys.first;
final V? evictedValue = _map.remove(evictedKey);
if (_handler != null) {
- _handler!(evictedKey, evictedValue);
+ _handler(evictedKey, evictedValue);
}
}
}
diff --git a/mobile/apps/photos/rust_builder/pubspec.yaml b/mobile/apps/photos/rust_builder/pubspec.yaml
index 31b699e0a5..2be7b960ab 100644
--- a/mobile/apps/photos/rust_builder/pubspec.yaml
+++ b/mobile/apps/photos/rust_builder/pubspec.yaml
@@ -4,8 +4,8 @@ version: 0.0.1
publish_to: none
environment:
- sdk: '>=3.3.0 <4.0.0'
- flutter: '>=3.3.0'
+ sdk: ">=3.3.0 <4.0.0"
+ flutter: ">=3.3.0"
dependencies:
flutter:
@@ -15,9 +15,9 @@ dependencies:
dev_dependencies:
ffi: ^2.0.2
ffigen: ^11.0.0
+ flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
- flutter_lints: ^2.0.0
flutter:
plugin: