Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

[web][photos] Remove direct cast PIN shortcuts

AswinAsok06e3cb7e08b9
diff --git a/web/apps/photos/src/components/collections/AlbumCastDialog.tsx b/web/apps/photos/src/components/collections/AlbumCastDialog.tsx
index 8198fa0b85..f694ea1dc6 100644
--- a/web/apps/photos/src/components/collections/AlbumCastDialog.tsx
+++ b/web/apps/photos/src/components/collections/AlbumCastDialog.tsx
@@ -285,31 +285,6 @@ const AlbumCastDialogContents: React.FC<AlbumCastDialogProps> = ({
>
{t("go_back")}
</FocusVisibleButton>
- <Stack
- direction="row"
- sx={{
- justifyContent: "center",
- alignItems: "center",
- flexWrap: "wrap",
- columnGap: "6px",
- }}
- >
- <Typography sx={{ fontSize: 12, color: "text.muted" }}>
- {t("cast_device_not_visible")}
- </Typography>
- <FocusVisibleUnstyledButton
- onClick={() => setView("pin")}
- sx={{
- color: "text.base",
- fontSize: 12,
- fontWeight: 500,
- textDecoration: "underline",
- textUnderlineOffset: "3px",
- }}
- >
- {t("pair_with_pin")}
- </FocusVisibleUnstyledButton>
- </Stack>
</Stack>
)}
{view == "pin" && (
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 82d26aa020..b8b9136fde 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -1066,7 +1066,6 @@
"cast_auto_pair": "Auto pair",
"choose_cast_device": "Choose your TV",
"cast_connection_failed": "Couldn’t connect to your TV",
- "cast_device_not_visible": "Can’t see your TV?",
"cast_auto_pair_description": "Auto pair works only with devices that support Chromecast.",
"choose_device_from_browser": "Choose a cast-compatible device from the browser popup.",
"cast_auto_pair_failed": "Chromecast auto pair failed. Please try again.",