Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Merge main into location covers

r4khul319ff5d09a29
diff --cc mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
index cd7c2e81b8,2e9de20558..90fc95f614
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@@ -84,7 -84,7 +84,12 @@@ class GalleryAppBarWidget extends State
PreferredSizeWidget? bottom,
bool showOverflowMenu = true,
}) {
- assert(cover == null || collection != null || files != null);
- assert(cover == null || collection != null || deviceCollection != null);
++ assert(
++ cover == null ||
++ collection != null ||
++ deviceCollection != null ||
++ files != null,
++ );
return GalleryAppBarConfig(
extendBodyForCollapse: cover != null && bottom == null,
sliverBuilder: (_) => GalleryAppBarWidget._(