fix input nomer

Deskripsi:
- pada ios item left input terlalu keatas

No Issues
This commit is contained in:
2026-01-23 12:13:42 +08:00
parent 03d0836111
commit e1b2cd3790
5 changed files with 8 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ export default function EditProfile() {
type="numeric"
placeholder="8XX-XXX-XXX"
required
itemLeft={<Text>+62</Text>}
itemLeft={<Text style={[Platform.OS === 'ios' && Styles.mt02]}>+62</Text>}
value={data?.phone}
error={error.phone}
errorText="Nomor Telepon tidak valid"

View File

@@ -331,7 +331,7 @@ export default function CreateMember() {
type="numeric"
placeholder="8XX-XXX-XXX"
required
itemLeft={<Text>+62</Text>}
itemLeft={<Text style={[Platform.OS === 'ios' && Styles.mt02]}>+62</Text>}
error={error.phone}
errorText="Nomor Telepon tidak valid"
onChange={val => {

View File

@@ -371,7 +371,7 @@ export default function EditMember() {
type="numeric"
placeholder="8XX-XXX-XXX"
required
itemLeft={<Text>+62</Text>}
itemLeft={<Text style={[Platform.OS === 'ios' && Styles.mt02]}>+62</Text>}
value={data?.phone}
error={error.phone}
errorText="Nomor Telepon tidak valid"

View File

@@ -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={<Text>+62</Text>}
itemLeft={<Text style={[Platform.OS === 'ios' && Styles.mt02]}>+62</Text>}
info="Kami akan mengirim kode verifikasi melalui WhatsApp, guna mengonfirmasikan nomor Anda." />
<ButtonForm
text="MASUK"

View File

@@ -28,7 +28,7 @@ export default function ViewVerification({ phone, otp }: Props) {
const encrypted = await encryptToken(valueUser);
signIn(encrypted);
} else {
return Toast.show({ type: 'small', text1: 'Terjadi kesalahan', position: 'top' })
return Toast.show({ type: 'small', text1: 'Terjadi kesalahan', position: 'bottom' })
}
}
@@ -36,7 +36,7 @@ export default function ViewVerification({ phone, otp }: Props) {
if (value === otpFix.toString()) {
login()
} else {
return Toast.show({ type: 'small', text1: 'Kode OTP tidak sesuai', position: 'top' });
return Toast.show({ type: 'small', text1: 'Kode OTP tidak sesuai', position: 'bottom' });
}
}