Minor cleanup and add KeyboardAvoidingView to global search.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user