Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove the confusing modification time option from the UI

Manav Rathi146b4ac296ab
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index 90e6c1e027..4827059278 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -21,7 +21,6 @@ import { FlexWrapper } from "@ente/shared/components/Container";
import EnteSpinner from "@ente/shared/components/EnteSpinner";
import { getPublicMagicMetadataMTSync } from "@ente/shared/file-metadata";
import { formatDate, formatTime } from "@ente/shared/time/format";
-import BackupOutlined from "@mui/icons-material/BackupOutlined";
import CalendarTodayIcon from "@mui/icons-material/CalendarToday";
import CameraOutlined from "@mui/icons-material/CameraOutlined";
import FolderOutlined from "@mui/icons-material/FolderOutlined";
@@ -245,12 +244,6 @@ export const FileInfo: React.FC<FileInfoProps> = ({
}
hideEditOption
/>
- <InfoItem
- icon={<BackupOutlined />}
- title={formatDate(file.metadata.modificationTime / 1000)}
- caption={formatTime(file.metadata.modificationTime / 1000)}
- hideEditOption
- />
{showCollectionChips && (
<InfoItem icon={<FolderOutlined />} hideEditOption>
<Box