Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Merge branch 'main' into feature/heic-photo-editor

httpjamesmdc2d53473950
diff --cc apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
index 0fee24a60e,51424aad77..79a2f26cbe
--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
@@@ -41,14 -41,9 +41,14 @@@ import ChevronRightIcon from '@mui/icon
import MenuIcon from '@mui/icons-material/Menu';
import { AppContext } from 'pages/_app';
import { getEditorCloseConfirmationMessage } from 'utils/ui';
- import { logError } from 'utils/sentry';
+ import { logError } from '@ente/shared/sentry';
import { getFileType } from 'services/typeDetectionService';
+import {
- downloadUsingAnchor,
+ getFileNameWithoutExtension,
+ isHEICFileFromFileName,
+} from 'utils/file';
+import { convertHEIC } from 'services/wasmHeicConverter/wasmHEICConverterClient';
+ import { downloadUsingAnchor } from '@ente/shared/utils';
interface IProps {
file: EnteFile;
diff --cc apps/photos/src/components/PhotoViewer/index.tsx
index a9828ea7cd,2c70011090..68b659e441
--- a/apps/photos/src/components/PhotoViewer/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/index.tsx
@@@ -13,9 -13,8 +13,9 @@@ import
getFileExtension,
getFileFromURL,
isRawFileFromFileName,
+ isHEICFileFromFileName,
} from 'utils/file';
- import { logError } from 'utils/sentry';
+ import { logError } from '@ente/shared/sentry';
import { FILE_TYPE } from 'constants/file';
import { isClipboardItemPresent } from 'utils/common';