π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile] Normalize rotation turns for EXIF orientation
Priyanshu Dangarea9e5b8c6a0f3
diff --git a/mobile/apps/photos/lib/utils/lossless_edits.dart b/mobile/apps/photos/lib/utils/lossless_edits.dartindex d344bc0530..0b3cbacd9b 100644--- a/mobile/apps/photos/lib/utils/lossless_edits.dart+++ b/mobile/apps/photos/lib/utils/lossless_edits.dart@@ -66,7 +66,7 @@ int? _orientationToTurns(int? orientation) {}int _turnsToOrientation(int turns) {- return switch (turns % 4) {+ return switch ((turns % 4 + 4) % 4) {1 => 6,2 => 3,3 => 8,