Minor cleanup and add KeyboardAvoidingView to global search.

This commit is contained in:
Patrick Fic
2025-10-29 10:22:31 -07:00
parent 9c5ee8ed16
commit 0ae416cc90
12 changed files with 129 additions and 51 deletions

View File

@@ -43,7 +43,7 @@ function JobListItemComponent({ openImagePicker, item }) {
const roNumber = item.ro_number || t("general.labels.na");
if (item.id === "footer-spacer") {
return <View style={{ height: 64 }} />;
return <View style={{ height: item.height || 64 }} />;
}
return (
<Pressable
@@ -76,15 +76,14 @@ function JobListItemComponent({ openImagePicker, item }) {
</View>
</View>
<View style={styles.body}>
{!!vehicle && (
<Text
variant="bodyMedium"
numberOfLines={1}
style={{ marginTop: 4, flex: 1 }}
>
{vehicle}
</Text>
)}
<Text
variant="bodyMedium"
numberOfLines={1}
style={{ marginTop: 4, flex: 1 }}
>
{vehicle}
</Text>
<Chip style>{item.status}</Chip>
</View>
</View>