diff --git a/src/features/auth/Login.tsx b/src/features/auth/Login.tsx index 99bbc4eca9..473dbeacc9 100644 --- a/src/features/auth/Login.tsx +++ b/src/features/auth/Login.tsx @@ -27,6 +27,9 @@ import TermsSheet from "../settings/terms/TermsSheet"; import { preventPhotoswipeGalleryFocusTrap } from "../gallery/GalleryImg"; import { getCustomServers } from "../../services/app"; import { isNative } from "../../helpers/device"; +import { Browser } from "@capacitor/browser"; + +const JOIN_LEMMY_URL = "https://join-lemmy.org/instances"; export const Spinner = styled(IonSpinner)` width: 1.5rem; @@ -299,9 +302,16 @@ export default function Login({ { + if (!isNative()) return; + + e.preventDefault(); + + Browser.open({ url: JOIN_LEMMY_URL }); + }} > Don't have an account?