From df2ceed52c40f76339fa9ab365d6b1f57e1aedf3 Mon Sep 17 00:00:00 2001 From: Kevin Loritsch Date: Mon, 1 Dec 2025 16:52:06 -0800 Subject: [PATCH] last pr fr trust --- src/app/auth/index.tsx | 1 + src/app/main/groups/createGroup.tsx | 2 +- src/components/camera/photopreview.tsx | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/app/auth/index.tsx b/src/app/auth/index.tsx index 06b811e..5dd9080 100644 --- a/src/app/auth/index.tsx +++ b/src/app/auth/index.tsx @@ -58,6 +58,7 @@ export default function IndexScreen() { 'Account Not Found', 'No account exists with this email. Please sign up instead.' ); + setLoading(false); return; } } diff --git a/src/app/main/groups/createGroup.tsx b/src/app/main/groups/createGroup.tsx index 955c8c6..558739e 100644 --- a/src/app/main/groups/createGroup.tsx +++ b/src/app/main/groups/createGroup.tsx @@ -102,7 +102,7 @@ const CreateGroup = () => { - + {filteredFriends.map(({ userId, pfpUrl, username }, idx) => { const selected = selectedFriendIds.includes(userId); diff --git a/src/components/camera/photopreview.tsx b/src/components/camera/photopreview.tsx index 70aba33..a00ba87 100644 --- a/src/components/camera/photopreview.tsx +++ b/src/components/camera/photopreview.tsx @@ -43,10 +43,20 @@ const PhotoPreview = ({ const exifOrientation = photo.exif?.Orientation || 6; + console.log(exifOrientation); + if (exifOrientation === 1) { rotation = 90; + } else if (exifOrientation === 2) { + rotation = 270; } else if (exifOrientation === 3) { rotation = 270; + } else if (exifOrientation === 4) { + rotation = 90; + } else if (exifOrientation === 5) { + rotation = 0; + } else if (exifOrientation === 7) { + rotation = 180; } else if (exifOrientation === 8) { rotation = 180; }