ソースを参照

Merge pull request #672 from ente-io/critical_fix

Vishnu Mohandas 2 年 前
コミット
7491383114
2 ファイル変更3 行追加3 行削除
  1. 2 2
      lib/ui/collections_gallery_widget.dart
  2. 1 1
      pubspec.yaml

+ 2 - 2
lib/ui/collections_gallery_widget.dart

@@ -104,8 +104,8 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
     );
     );
     result.matched.removeWhere(
     result.matched.removeWhere(
       (element) =>
       (element) =>
-          element.thumbnail == null ||
-          (element.collection.publicURLs?.isNotEmpty ?? false),
+          element.thumbnail == null &&
+          (element.collection.publicURLs?.isEmpty ?? false),
     );
     );
     return result.matched + result.unmatched;
     return result.matched + result.unmatched;
   }
   }

+ 1 - 1
pubspec.yaml

@@ -12,7 +12,7 @@ description: ente photos application
 # Read more about iOS versioning at
 # Read more about iOS versioning at
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
 
 
-version: 0.6.70+390
+version: 0.6.72+392
 
 
 environment:
 environment:
   sdk: '>=2.17.0 <3.0.0'
   sdk: '>=2.17.0 <3.0.0'