made some naming changes in components related to album header
This commit is contained in:
parent
99f423bfce
commit
878b43a6bd
|
@ -52,7 +52,7 @@ export function QuickOptions({
|
|||
collectionSummaryType ===
|
||||
CollectionSummaryType.favorites
|
||||
? constants.DOWNLOAD_FAVOURITES
|
||||
: constants.CONFIRM_DOWNLOAD_COLLECTION
|
||||
: constants.DOWNLOAD_COLLECTION
|
||||
}>
|
||||
<IconButton>
|
||||
<FileDownloadOutlinedIcon
|
||||
|
|
|
@ -20,7 +20,7 @@ import { TrashCollectionOption } from './TrashCollectionOption';
|
|||
import { SharedCollectionOption } from './SharedCollectionOption';
|
||||
import { QuickOptions } from './QuickOptions';
|
||||
import MoreHoriz from '@mui/icons-material/MoreHoriz';
|
||||
import { Box } from '@mui/system';
|
||||
import { HorizontalFlex } from 'components/Container';
|
||||
|
||||
interface CollectionOptionsProps {
|
||||
setCollectionNamerAttributes: SetCollectionNamerAttributes;
|
||||
|
@ -190,7 +190,7 @@ const CollectionOptions = (props: CollectionOptionsProps) => {
|
|||
|
||||
const confirmDownloadCollection = () => {
|
||||
setDialogMessage({
|
||||
title: constants.CONFIRM_DOWNLOAD_COLLECTION,
|
||||
title: constants.DOWNLOAD_COLLECTION,
|
||||
content: constants.DOWNLOAD_COLLECTION_MESSAGE(),
|
||||
proceed: {
|
||||
text: constants.DOWNLOAD,
|
||||
|
@ -234,7 +234,7 @@ const CollectionOptions = (props: CollectionOptionsProps) => {
|
|||
};
|
||||
|
||||
return (
|
||||
<Box sx={{ display: 'inline-flex', gap: '16px' }}>
|
||||
<HorizontalFlex sx={{ display: 'inline-flex', gap: '16px' }}>
|
||||
<QuickOptions
|
||||
handleCollectionAction={handleCollectionAction}
|
||||
collectionSummaryType={collectionSummaryType}
|
||||
|
@ -265,7 +265,7 @@ const CollectionOptions = (props: CollectionOptionsProps) => {
|
|||
)}
|
||||
</OverflowMenu>
|
||||
)}
|
||||
</Box>
|
||||
</HorizontalFlex>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -380,7 +380,7 @@ const englishConstants = {
|
|||
`Oops, you're already sharing this with ${email}`,
|
||||
SHARING_BAD_REQUEST_ERROR: 'Sharing album not allowed',
|
||||
SHARING_DISABLED_FOR_FREE_ACCOUNTS: 'Sharing is disabled for free accounts',
|
||||
CONFIRM_DOWNLOAD_COLLECTION: 'Download album',
|
||||
DOWNLOAD_COLLECTION: 'Download album',
|
||||
DOWNLOAD_COLLECTION_MESSAGE: () => (
|
||||
<>
|
||||
<p>Are you sure you want to download the complete album?</p>
|
||||
|
|
Loading…
Reference in a new issue