Sentry logging and minor UI

This commit is contained in:
Patrick Fic
2025-11-04 13:51:17 -08:00
parent dcdc1e9988
commit 4b567ae04f
7 changed files with 51 additions and 44 deletions

View File

@@ -43,7 +43,16 @@ function JobListItemComponent({ openImagePicker, item }) {
const roNumber = item.ro_number || t("general.labels.na");
if (item.id === "footer-spacer") {
return <View style={{ height: item.height || 64 }} />;
return (
//This has to be nested for some reason?
<View>
<View
style={{
height: item.height || 96,
}}
></View>
</View>
);
}
return (
<Pressable

View File

@@ -55,10 +55,7 @@ export function JobListComponent({ bodyshop, openImagePicker }) {
const jobs = data ? [...(data?.jobs || []), { id: "footer-spacer" }] : [];
return (
<SafeAreaView
style={{ flex: 1, marginHorizontal: 12, paddingBottom: 48 }}
edges={["top"]}
>
<SafeAreaView style={{ flex: 1, marginHorizontal: 12 }} edges={["top"]}>
<View
style={{
display: "flex",
@@ -73,7 +70,11 @@ export function JobListComponent({ bodyshop, openImagePicker }) {
>
{t("joblist.titles.jobtab")}
</Text>
<Button icon="cloud-upload-outline" mode="outlined" onPress={handleTempUpload}>
<Button
icon="cloud-upload-outline"
mode="outlined"
onPress={handleTempUpload}
>
{t("joblist.labels.tempdocs")}
</Button>
</View>