This commit is contained in:
Thomas Demirdjian
2025-11-04 14:48:32 +01:00
parent 4bb083ea46
commit a93707b100
21 changed files with 103 additions and 13 deletions
+2 -12
View File
@@ -11,7 +11,7 @@ import {
// import CountryPicker, { DARK_THEME } from "react-native-country-picker-modal";
import usePlaceApi from "react-native-minuit/src/hooks/usePlacesApi";
import { art, icons } from "../assets";
import { icons } from "../assets";
import { Fonts, Palette, Style, gutters } from "../styles";
import { FONT_FAMILY } from "../styles/Fonts";
@@ -69,11 +69,7 @@ const Input = ({
const ContainerView = isBlur ? BlurView : View;
const resolvedKeyboardType =
textInputProps?.keyboardType ??
(isNumeric
? "numeric"
: type === "email"
? "email-address"
: "default");
(isNumeric ? "numeric" : type === "email" ? "email-address" : "default");
return (
<>
@@ -198,12 +194,6 @@ const Input = ({
<Pressable onPress={() => setShowPassword(!showPassword)}>
{showPassword ? <EyeSVG /> : <EyeSlashSVG />}
</Pressable>
) : type === "coinAmount" ? (
<Image
source={art.coin}
style={[Style.iconDefault]}
resizeMode="contain"
/>
) : null}
</ContainerView>