Commit 77d62f09 authored by Kavindu Lakshitha's avatar Kavindu Lakshitha

updated

parent 0a9f95ab
......@@ -213,8 +213,16 @@ export default function App() {
<Stack.Screen
name="DietStepOne"
options={{
headerShown: false,
headerTitle: "",
headerTitleAlign: "center",
headerTitleStyle: {
fontSize: 20,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
},
gestureEnabled: true,
headerBackground: () => <TitleHeaderCancelQuery />,
}}
component={DietStepOne}
/>
......@@ -222,8 +230,16 @@ export default function App() {
<Stack.Screen
name="DietStepTwo"
options={{
headerShown: false,
headerTitle: "Dietary Preferences",
headerTitleAlign: "center",
headerTitleStyle: {
fontSize: 20,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
},
gestureEnabled: true,
headerBackground: () => <TitleHeaderCancelQuery />,
}}
component={DietStepTwo}
/>
......@@ -257,8 +273,16 @@ export default function App() {
<Stack.Screen
name="DietPlan"
options={{
headerShown: false,
headerTitle: "Diet Plan",
headerTitleAlign: "center",
headerTitleStyle: {
fontSize: 20,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
},
gestureEnabled: true,
headerBackground: () => <TitleHeaderCancelQuery />,
}}
component={DietPlan}
/>
......@@ -316,7 +340,16 @@ export default function App() {
<Stack.Screen
name="WaterQualityStepOne"
options={{
headerShown: false,
headerTitle: "Water Quality Monitor",
headerTitleAlign: "center",
headerTitleStyle: {
fontSize: 20,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
},
gestureEnabled: true,
headerBackground: () => <TitleHeaderCancelQuery />,
}}
component={WaterQualityStepOne}
/>
......@@ -324,7 +357,16 @@ export default function App() {
<Stack.Screen
name="WaterTestResults"
options={{
headerShown: false,
headerTitle: "Test Results",
headerTitleAlign: "center",
headerTitleStyle: {
fontSize: 20,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
},
gestureEnabled: true,
headerBackground: () => <TitleHeaderCancelQuery />,
}}
component={WaterTestResults}
/>
......
......@@ -58,40 +58,6 @@ export default function DietPlan() {
}}
>
<View>
<View
style={{
flexDirection: "row",
marginTop: "15%",
marginHorizontal: "7.5%",
justifyContent: "space-between",
}}
>
<Text
style={{
fontSize: 22,
fontFamily: "Lora-Bold",
color: "#222244",
marginTop: "10%",
}}
>
Here's a proper diet plan
</Text>
<TouchableOpacity onPress={() => navigation.navigate("MainScreen")}>
<Text
style={{
fontSize: 17,
textTransform: "capitalize",
fontFamily: "OpenSans-SemiBold",
color: "#2196F3",
marginTop: "10%",
textAlign: "center",
}}
>
Cancel
</Text>
{/* <AntDesign name="close" size={28} color="#222244" /> */}
</TouchableOpacity>
</View>
<View
style={{
width: "85%",
......
......@@ -60,7 +60,7 @@ export default function DietStepOne() {
<View
style={{
flexDirection: "row",
marginTop: "15%",
marginTop: "5%",
marginHorizontal: "7.5%",
justifyContent: "space-between",
}}
......@@ -70,29 +70,10 @@ export default function DietStepOne() {
fontSize: 22,
fontFamily: "Lora-Bold",
color: "#222244",
marginTop: "10%",
}}
>
CKD Stage
</Text>
<TouchableOpacity
onPress={() => navigation.navigate("MainScreen")}
style={{}}
>
<Text
style={{
fontSize: 17,
textTransform: "capitalize",
fontFamily: "OpenSans-SemiBold",
color: "#2196F3",
marginTop: "10%",
textAlign: "center",
}}
>
Cancel
</Text>
{/* <AntDesign name="close" size={28} color="#222244" /> */}
</TouchableOpacity>
</View>
<View
style={{
......
......@@ -91,43 +91,6 @@ export default function DietStepTwo() {
}}
>
<View>
<View
style={{
flexDirection: "row",
marginTop: "15%",
marginHorizontal: "7.5%",
justifyContent: "space-between",
}}
>
<Text
style={{
fontSize: 22,
fontFamily: "Lora-Bold",
color: "#222244",
marginTop: "10%",
}}
>
Dietary Preferences and Restrictions:
</Text>
<TouchableOpacity
style={{}}
onPress={() => navigation.navigate("MainScreen")}
>
<Text
style={{
fontSize: 17,
textTransform: "capitalize",
fontFamily: "OpenSans-SemiBold",
color: "#2196F3",
marginTop: "10%",
textAlign: "center",
}}
>
Cancel
</Text>
{/* <AntDesign name="close" size={28} color="#222244" /> */}
</TouchableOpacity>
</View>
<View
style={{
width: "85%",
......
......@@ -37,30 +37,6 @@ export default function WaterQualityStepOne() {
}}
>
<View>
<View
style={{
flexDirection: "row",
marginTop: "15%",
marginHorizontal: "7.5%",
justifyContent: "space-between",
}}
>
<Text
style={{
fontSize: 22,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
marginTop: "10%",
}}
>
Water Quality Monitor
</Text>
<TouchableOpacity onPress={() => navigation.navigate("MainScreen")}>
<AntDesign name="close" size={28} color="#222244" />
</TouchableOpacity>
</View>
<View
style={{
marginTop: "5%",
......
......@@ -18,30 +18,6 @@ export default function WaterTestResults() {
}}
>
<View>
<View
style={{
flexDirection: "row",
marginTop: "15%",
marginHorizontal: "7.5%",
justifyContent: "space-between",
}}
>
<Text
style={{
fontSize: 22,
textTransform: "capitalize",
fontFamily: "Lora-Bold",
color: "#222244",
marginTop: "10%",
}}
>
Your Water Test Results
</Text>
<TouchableOpacity onPress={() => navigation.navigate("MainScreen")}>
<AntDesign name="close" size={28} color="#222244" />
</TouchableOpacity>
</View>
<View
style={{
width: "85%",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment