From e1b2cd3790523efd574265de3b01fb97b351f6e1 Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Fri, 23 Jan 2026 12:13:42 +0800 Subject: [PATCH] fix input nomer Deskripsi: - pada ios item left input terlalu keatas No Issues --- app/(application)/edit-profile.tsx | 2 +- app/(application)/member/create.tsx | 2 +- app/(application)/member/edit/[id].tsx | 2 +- components/auth/viewLogin.tsx | 6 +++--- components/auth/viewVerification.tsx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/(application)/edit-profile.tsx b/app/(application)/edit-profile.tsx index 78bf24b..b371437 100644 --- a/app/(application)/edit-profile.tsx +++ b/app/(application)/edit-profile.tsx @@ -328,7 +328,7 @@ export default function EditProfile() { type="numeric" placeholder="8XX-XXX-XXX" required - itemLeft={+62} + itemLeft={+62} value={data?.phone} error={error.phone} errorText="Nomor Telepon tidak valid" diff --git a/app/(application)/member/create.tsx b/app/(application)/member/create.tsx index 5737dd4..21663d6 100644 --- a/app/(application)/member/create.tsx +++ b/app/(application)/member/create.tsx @@ -331,7 +331,7 @@ export default function CreateMember() { type="numeric" placeholder="8XX-XXX-XXX" required - itemLeft={+62} + itemLeft={+62} error={error.phone} errorText="Nomor Telepon tidak valid" onChange={val => { diff --git a/app/(application)/member/edit/[id].tsx b/app/(application)/member/edit/[id].tsx index 7e4d1f5..f30749a 100644 --- a/app/(application)/member/edit/[id].tsx +++ b/app/(application)/member/edit/[id].tsx @@ -371,7 +371,7 @@ export default function EditMember() { type="numeric" placeholder="8XX-XXX-XXX" required - itemLeft={+62} + itemLeft={+62} value={data?.phone} error={error.phone} errorText="Nomor Telepon tidak valid" diff --git a/components/auth/viewLogin.tsx b/components/auth/viewLogin.tsx index be92a0a..4bff550 100644 --- a/components/auth/viewLogin.tsx +++ b/components/auth/viewLogin.tsx @@ -39,10 +39,10 @@ export default function ViewLogin({ onValidate }: Props) { } } } else { - return Toast.show({ type: 'small', text1: response.message, position: 'top' }) + return Toast.show({ type: 'small', text1: response.message, position: 'bottom' }) } } catch (error) { - return Toast.show({ type: 'small', text1: `Terjadi kesalahan, coba lagi`, position: 'top' }) + return Toast.show({ type: 'small', text1: `Terjadi kesalahan, coba lagi`, position: 'bottom' }) } finally { setLoadingLogin(false) } @@ -70,7 +70,7 @@ export default function ViewLogin({ onValidate }: Props) { type="numeric" placeholder="XXX-XXX-XXXX" round - itemLeft={+62} + itemLeft={+62} info="Kami akan mengirim kode verifikasi melalui WhatsApp, guna mengonfirmasikan nomor Anda." />