From f983c60bc9a401fb16208091e3153bbd6f57841c Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Sat, 16 Apr 2022 22:30:18 +0430 Subject: [PATCH] reza fixed activation Keyboardavoidingview --- src/screens/Activation/index.js | 162 +++++++++++++++++--------------- 1 file changed, 84 insertions(+), 78 deletions(-) diff --git a/src/screens/Activation/index.js b/src/screens/Activation/index.js index 8ec60d1..3dd2cc4 100644 --- a/src/screens/Activation/index.js +++ b/src/screens/Activation/index.js @@ -7,6 +7,8 @@ import { KeyboardAvoidingView, TouchableWithoutFeedback, SafeAreaView, + ScrollView, + Dimensions, } from "react-native"; import { connect } from "react-redux"; import Svg, { Image as Imagee } from "react-native-svg"; @@ -25,98 +27,102 @@ import Colors from "../../constants/Colors"; //assets import bgQr from "./assets/QR.png"; +//variables const ios = Platform.OS === "ios"; +const { height } = Dimensions.get("window"); function Activation({ add, mobile, theme }) { const [value, setValue] = useState(null); return ( - - - - - - - + + + + + - - - + + + - + > + + + + + setValue(value)} + /> + add({ code: value })} + /> + + {}} + /> + - - setValue(value)} - /> - add({ code: value })} - /> - - {}} - /> - - - - + + + ); }