From 60278fee1660c5cd46d1fef6fb2918300dc8213d Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Fri, 3 Oct 2025 14:08:22 +0800 Subject: [PATCH] upd: edi photo Deskripsi - edit image before upload pada edit profile, tambah anggota dan edit anggota No Issues --- app/(application)/edit-profile.tsx | 2 +- app/(application)/member/create.tsx | 2 +- app/(application)/member/edit/[id].tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/(application)/edit-profile.tsx b/app/(application)/edit-profile.tsx index b746b57..8a711d2 100644 --- a/app/(application)/edit-profile.tsx +++ b/app/(application)/edit-profile.tsx @@ -198,7 +198,7 @@ export default function EditProfile() { const pickImageAsync = async () => { let result = await ImagePicker.launchImageLibraryAsync({ mediaTypes: ["images"], - allowsEditing: false, + allowsEditing: true, quality: 1, aspect: [1, 1], }); diff --git a/app/(application)/member/create.tsx b/app/(application)/member/create.tsx index e7325e2..d533764 100644 --- a/app/(application)/member/create.tsx +++ b/app/(application)/member/create.tsx @@ -194,7 +194,7 @@ export default function CreateMember() { const pickImageAsync = async () => { let result = await ImagePicker.launchImageLibraryAsync({ mediaTypes: ["images"], - allowsEditing: false, + allowsEditing: true, quality: 1, aspect: [1, 1], }); diff --git a/app/(application)/member/edit/[id].tsx b/app/(application)/member/edit/[id].tsx index 3f6021d..18f40c5 100644 --- a/app/(application)/member/edit/[id].tsx +++ b/app/(application)/member/edit/[id].tsx @@ -221,7 +221,7 @@ export default function EditMember() { const pickImageAsync = async () => { let result = await ImagePicker.launchImageLibraryAsync({ mediaTypes: ["images"], - allowsEditing: false, + allowsEditing: true, quality: 1, aspect: [1, 1], });