diff --git a/src/screens/TreeInfo/TreeInfo.tsx b/src/screens/TreeInfo/TreeInfo.tsx index 357c3da..f0ec680 100644 --- a/src/screens/TreeInfo/TreeInfo.tsx +++ b/src/screens/TreeInfo/TreeInfo.tsx @@ -2,6 +2,7 @@ import { useState } from 'react'; import { ImageBackground, KeyboardAvoidingView, + Platform, ScrollView, Text, TextInput, @@ -42,95 +43,101 @@ export default function TreeInfoPage({ route }: TreeInfoPageProps) { const [bankNumber, setBankNumber] = useState(treeInfo.bankNumber.toString()); return ( - - - - - - {treeName} - - {scientificName} + + + + + + + {treeName} + + {scientificName} - - ID-{id} + + ID-{id} + - - + - - - Properties - - - Done - - + + + Properties + + + Done + + - - - Location - - - + + + Location + + + + - - - Production Status - {}} - value={treeInfo.status} - /> - + + Production Status + {}} + value={treeInfo.status} + /> + - - Health - {}} - value={treeInfo.health} - /> + + Health + {}} + value={treeInfo.health} + /> + + + + Ownership Status + {}} + value={treeInfo.treeOwnership} + /> + - - Ownership Status - {}} - value={treeInfo.treeOwnership} + + Additional Notes + - - - Additional Notes - - - + - + ); } diff --git a/src/screens/TreeInfo/styles.ts b/src/screens/TreeInfo/styles.ts index 10e3aed..cd4770b 100644 --- a/src/screens/TreeInfo/styles.ts +++ b/src/screens/TreeInfo/styles.ts @@ -4,7 +4,7 @@ import colors from '@/styles/colors'; export default StyleSheet.create({ // Container container: { - flex: 1, + // flex: 1, paddingBottom: 40, backgroundColor: colors.white1, },