Skip to content

armgit / ente

Public Imported from GitHub
0

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

Resolve merge conflicts and merge main

ashilkneb97848bc2bc
diff --cc mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index cdba904ed6,f7ce549d35..e0d338104b
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@@ -564,7 -567,7 +564,9 @@@ class GalleryState extends State<Galler
?.setScrollController(_scrollController);
}
});
++
final widthAvailable = MediaQuery.sizeOf(context).width;
++ final shouldEnableSwipeSelection = widget.limitSelectionToOne == false;
if (groupHeaderExtent == null) {
final photoGridSize = localSettings.getPhotoGridSize();
@@@ -608,8 -611,18 +610,15 @@@
return widget.loadingWidget;
}
- final shouldEnableSwipeSelection = widget.limitSelectionToOne == false;
+ // Check if width changed due to orientation change and update gallery groups
+ if (galleryGroups.widthAvailable != widthAvailable) {
+ WidgetsBinding.instance.addPostFrameCallback((_) {
+ if (mounted) {
+ _updateGalleryGroups();
+ }
+ });
+ }
- final shouldEnableSwipeSelection =
- flagService.internalUser && widget.limitSelectionToOne == false;
-
return SwipeSelectionWrapper(
isEnabled: shouldEnableSwipeSelection,
swipeHelper: _swipeHelper,
diff --cc mobile/apps/photos/scripts/internal_changes.txt
index 828501c0d2,878c3eca80..b106490931
--- a/mobile/apps/photos/scripts/internal_changes.txt
+++ b/mobile/apps/photos/scripts/internal_changes.txt
@@@ -1,15 -1,9 +1,9 @@@
+ - Ashil: Update gallery layout when screen orientation in changed
+ - Neeraj: Decrypt local chunk before reporting upload & log sha1 on decryption errors
+ - Neeraj: Asserts for url reuse and plain vs enc size mismatch
-- Ashil: (i) Swipe to select improvements (changes in auto scroll speed calcuation, added haptics and bug that I caught)
+- Ashil: Swipe to select improvements (changes in auto scroll speed calcuation, added haptics and bug that I caught)
- Laurens: Show empty persons and fallback for face thumbnail issues
- Prateek: (i) Add native video editor to boost performance
- - Neeraj: Remove feature flags from manage_links_widget (album layout, allow joining album, copy embed HTML)
- - Ashil: Use better copy on auto-add people selection page
- - Ashil: Add more logs to debug app stuck at splash screen issue
- - Prateek: Tag Sentry errors with execution_context for background vs foreground
- - Prateek: Upgrade WorkManager to 0.9.0 and ExistingWorkPolicy to update
- - Neeraj: (i) Copy embed link option
- - Prateek: Fix background uploads on Android 15 by skipping permission request in background mode
- - Prateek: Fix CronetException during background sync by disabling NativeAdapter on Android
- - Laurens: Change similar images labels copy
- Laurens: Fix flipped thumbnails issue by removing use of ColorFiltered widget
- Neeraj: [CustomerIssue] Handle corrupt asset timestamps with detailed error reporting
- Neeraj: Fix video aspect ratio when shared from external apps