diff --git a/src/components/Dropdown/Dropdown.tsx b/src/components/Dropdown/Dropdown.tsx index e738f51..c34233c 100644 --- a/src/components/Dropdown/Dropdown.tsx +++ b/src/components/Dropdown/Dropdown.tsx @@ -21,8 +21,8 @@ function Dropdown({ options, setValue, value }: DropdownProps) { @@ -59,13 +63,15 @@ export default function TreeInfoPage({ route }: TreeInfoPageProps) { style={styles.textInput} placeholder="Row #" placeholderTextColor={colors.gray4} - value={treeInfo.rowNumber.toString()} + value={rowNumber} + onChangeText={setRowNumber} > diff --git a/src/screens/TreeInfoScreen/styles.ts b/src/screens/TreeInfoScreen/styles.ts index f40f0ff..1466da7 100644 --- a/src/screens/TreeInfoScreen/styles.ts +++ b/src/screens/TreeInfoScreen/styles.ts @@ -21,11 +21,15 @@ export default StyleSheet.create({ gap: 5, }, idBadge: { + flex: 0, + justifyContent: 'flex-start', backgroundColor: colors.primary_green_2, borderRadius: 5, + marginRight: 'auto', }, idText: { flex: 0, + textAlign: 'left', color: colors.white1, fontSize: 14, padding: 10, @@ -44,7 +48,7 @@ export default StyleSheet.create({ body: { gap: 25, marginHorizontal: 44, - marginTop: 40, + marginTop: 32, flex: 1, }, label: { @@ -62,7 +66,7 @@ export default StyleSheet.create({ }, textInput: { flex: 1, - color: colors.gray4, + color: colors.black3, borderWidth: 1, borderRadius: 5, borderColor: colors.gray4,