π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathie3da55b611d1
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsxindex 7e8656f104..8d1d7d67f3 100644--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx@@ -1,8 +1,8 @@import { haveWindow } from "@/base/env";import { type Location } from "@/base/types";-import { styled } from "@mui/material";+import { Button, styled, type ButtonProps } from "@mui/material";+import { type CSSProperties } from "@mui/material/styles/createTypography";import { useEffect, useRef } from "react";-import { MapButton } from "./MapButton";import { t } from "i18next";import "leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css"; // Re-uses images from ~leaflet package@@ -78,3 +78,10 @@ const MapBox: React.FC<MapBoxProps> = ({};export default MapBox;++export const MapButton = styled((props: ButtonProps) => (+ <Button color="secondary" {...props} />+))(({ theme }) => ({+ ...(theme.typography.small as CSSProperties),+ padding: "8px",+}));diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapButton.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapButton.tsxdeleted file mode 100644index ea5005da57..0000000000--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapButton.tsx+++ /dev/null@@ -1,9 +0,0 @@-import { Button, styled, type ButtonProps } from "@mui/material";-import { type CSSProperties } from "@mui/material/styles/createTypography";--export const MapButton = styled((props: ButtonProps) => (- <Button color="secondary" {...props} />-))(({ theme }) => ({- ...(theme.typography.small as CSSProperties),- padding: "8px",-}));