π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Don't unnecessarily sort
laurenspriem35a04d6e7e33
diff --git a/mobile/apps/photos/lib/ui/tools/similar_images_page.dart b/mobile/apps/photos/lib/ui/tools/similar_images_page.dartindex 3da1761e3d..1c8885b271 100644--- a/mobile/apps/photos/lib/ui/tools/similar_images_page.dart+++ b/mobile/apps/photos/lib/ui/tools/similar_images_page.dart@@ -1129,7 +1129,12 @@ class _SimilarImagesPageState extends State<SimilarImagesPage> {onSelected: (int index) {if (_isDisposed) return;setState(() {- _sortKey = SortKey.values[index];+ final newKey = SortKey.values[index];+ if (newKey == _sortKey) {+ return;+ } else {+ _sortKey = newKey;+ }});_sortSimilarFiles();},