Resolve flatlist end covered.

This commit is contained in:
Patrick Fic
2025-10-23 12:25:13 -07:00
parent 41a3a1fccf
commit b6271b8ef2
3 changed files with 13 additions and 23 deletions

View File

@@ -44,6 +44,9 @@ function JobListItemComponent({ openImagePicker, item }) {
}`.trim();
const roNumber = item.ro_number || t("general.labels.na");
if (item.id === "footer-spacer") {
return <View style={{ height: 64 }} />;
}
return (
<Pressable
onPress={onPress}
@@ -81,7 +84,7 @@ function JobListItemComponent({ openImagePicker, item }) {
<Text
variant="bodyMedium"
numberOfLines={1}
style={{ marginTop: 4 }}
style={{ marginTop: 4, flex: 1 }}
>
{vehicle}
</Text>
@@ -155,11 +158,15 @@ const styles = StyleSheet.create({
opacity: 0.9,
},
uploadButton: {
margin: 0,
marginLeft: 12,
},
body: {
marginTop: 2,
flexDirection: "row", gap: 8, alignItems: "center",
display: "flex",
flex: 1,
flexDirection: "row",
gap: 8,
alignItems: "center",
},
ownerText: {
fontWeight: "600",