Package updates & resolve job detail cloud upload bug. Added note type.

This commit is contained in:
Patrick Fic
2025-11-21 14:02:11 -08:00
parent f8869b4f0e
commit e069fd1170
10 changed files with 491 additions and 297 deletions

View File

@@ -3,7 +3,7 @@ import * as Haptics from "expo-haptics";
import { Stack, useGlobalSearchParams } from "expo-router";
import { useCallback } from "react";
import { useTranslation } from "react-i18next";
import { IconButton } from "react-native-paper";
import { Button } from "react-native-paper";
import { connect } from "react-redux";
const mapDispatchToProps = (dispatch) => ({
@@ -40,12 +40,20 @@ function JobsStack({ openImagePicker }) {
options={({ route }) => ({
//headerShown: false,
title: (route.params as any)?.title || "Job Details",
headerRight: () => (
<IconButton
headerRight: (props) => (
<Button
icon="cloud-upload-outline"
size={20}
style={{
display: "flex",
alignContent: "center",
alignItems: "center",
alignSelf: "center",
justifyContent: "center",
}}
onPress={handleUpload}
/>
>
{t("general.labels.upload")}
</Button>
),
})}
/>