Fix Task: #92
This commit is contained in:
@@ -12,7 +12,13 @@ import { FONT_FAMILY } from "../../../styles/Fonts";
|
||||
import { BlurView } from "expo-blur";
|
||||
import { icons } from "../../../assets";
|
||||
|
||||
const EditInput = ({ label = "", placeholder = "", type = "default", value = "", setValue = () => {} }) => {
|
||||
const EditInput = ({
|
||||
label = "",
|
||||
placeholder = "",
|
||||
type = "default",
|
||||
value = "",
|
||||
setValue = () => {},
|
||||
}) => {
|
||||
const [showPassword, setShowPassword] = useState(false);
|
||||
|
||||
return (
|
||||
@@ -42,7 +48,7 @@ const EditInput = ({ label = "", placeholder = "", type = "default", value = "",
|
||||
</Text>
|
||||
</View>
|
||||
<BlurView
|
||||
intensity={20}
|
||||
intensity={Platform.OS !== "ios" ? 10 : 20}
|
||||
style={{
|
||||
paddingHorizontal: 12,
|
||||
borderRadius: 12,
|
||||
@@ -51,9 +57,9 @@ const EditInput = ({ label = "", placeholder = "", type = "default", value = "",
|
||||
height: 52,
|
||||
...Style.containerRow,
|
||||
}}
|
||||
experimentalBlurMethod={
|
||||
Platform.OS !== "ios" ? "dimezisBlurView" : "none"
|
||||
}
|
||||
// experimentalBlurMethod={
|
||||
// Platform.OS !== "ios" ? "dimezisBlurView" : "none"
|
||||
// }
|
||||
>
|
||||
<TextInput
|
||||
placeholder={placeholder}
|
||||
|
||||
Reference in New Issue
Block a user