diff --git a/apps/photos/src/components/Upload/UploadProgress/inProgressSection.tsx b/apps/photos/src/components/Upload/UploadProgress/inProgressSection.tsx index 98d6d48cc..718636804 100644 --- a/apps/photos/src/components/Upload/UploadProgress/inProgressSection.tsx +++ b/apps/photos/src/components/Upload/UploadProgress/inProgressSection.tsx @@ -12,6 +12,7 @@ import UploadProgressContext from 'contexts/uploadProgress'; import { t } from 'i18next'; import { UPLOAD_STAGES } from 'constants/upload'; +import { CaptionedText } from 'components/CaptionedText'; export const InProgressSection = () => { const { inProgressUploads, hasLivePhotos, uploadFileNames, uploadStage } = @@ -44,9 +45,14 @@ export const InProgressSection = () => { return ( }> - {uploadStage === UPLOAD_STAGES.EXTRACTING_METADATA - ? t('INPROGRESS_METADATA_EXTRACTION') - : t('INPROGRESS_UPLOADS')} + {hasLivePhotos && ( diff --git a/apps/photos/src/components/Upload/UploadProgress/resultSection.tsx b/apps/photos/src/components/Upload/UploadProgress/resultSection.tsx index ca5e0e276..6149458b0 100644 --- a/apps/photos/src/components/Upload/UploadProgress/resultSection.tsx +++ b/apps/photos/src/components/Upload/UploadProgress/resultSection.tsx @@ -1,6 +1,5 @@ -import React, { useContext } from 'react'; +import { useContext } from 'react'; import ItemList from 'components/ItemList'; -import { Typography } from '@mui/material'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import { ResultItemContainer } from './styledComponents'; import { UPLOAD_RESULT } from 'constants/upload'; @@ -11,6 +10,7 @@ import { UploadProgressSectionTitle, } from './section'; import UploadProgressContext from 'contexts/uploadProgress'; +import { CaptionedText } from 'components/CaptionedText'; export interface ResultSectionProps { uploadResult: UPLOAD_RESULT; @@ -46,7 +46,10 @@ export const ResultSection = (props: ResultSectionProps) => { return ( }> - {props.sectionTitle} + {props.sectionInfo && (