diff --git a/e2e/routes.spec.ts b/e2e/routes.spec.ts index b10672a5..0a755452 100644 --- a/e2e/routes.spec.ts +++ b/e2e/routes.spec.ts @@ -19,7 +19,6 @@ const settingsRoutes = [ "/connections", "/currency", "/emergencykit", - "/plus", "/restore", "/servers", "/nostrkeys" @@ -62,10 +61,6 @@ test("visit each route", async ({ page }) => { checklist.set("/settings", true); - // Mutiny+ - await checkRoute(page, "/settings/plus", "Mutiny+", checklist); - await page.goBack(); - // Lightning Channels await checkRoute( page, diff --git a/src/routes/Profile.tsx b/src/routes/Profile.tsx index b8860827..9e1c06b7 100644 --- a/src/routes/Profile.tsx +++ b/src/routes/Profile.tsx @@ -1,5 +1,5 @@ import { createAsync, useNavigate } from "@solidjs/router"; -import { AtSign, Edit, Import } from "lucide-solid"; +import { Edit, Import } from "lucide-solid"; import { createMemo, Show, Suspense } from "solid-js"; import { @@ -47,21 +47,6 @@ export function Profile() { return profile()?.deleted === true || profile()?.deleted === "true"; }); - const hasMutinyAddress = createMemo(() => { - if (profile()?.lud16) { - const hermes = import.meta.env.VITE_HERMES; - if (!hermes) { - return false; - } - const hermesDomain = new URL(hermes).hostname; - const afterAt = profile()?.lud16!.split("@")[1]; - if (afterAt && afterAt.includes(hermesDomain)) { - return true; - } - } - return false; - }); - return ( @@ -89,26 +74,6 @@ export function Profile() { {i18n.t("profile.edit_profile")} - - - navigate("/settings/lightningaddress") - } - > -
- - - {i18n.t( - "settings.lightning_address.create" - )} - -
-
-
@@ -198,22 +194,6 @@ export function Plus() { {i18n.t("settings.plus.wallet_connection")} - - - navigate("/settings/lightningaddress") - } - > -
- - - {i18n.t( - "settings.lightning_address.create" - )} - -
-
-
diff --git a/src/routes/settings/Root.tsx b/src/routes/settings/Root.tsx index 5b720c3d..8c0fe4c2 100644 --- a/src/routes/settings/Root.tsx +++ b/src/routes/settings/Root.tsx @@ -1,4 +1,3 @@ -import { Capacitor } from "@capacitor/core"; import { A } from "@solidjs/router"; import { ChevronRight } from "lucide-solid"; import { For, Show } from "solid-js"; @@ -8,7 +7,6 @@ import { DefaultMain, ExternalLink, LargeHeader, - MutinyPlusCta, NavBar, SettingsCard, TinyText, @@ -73,18 +71,11 @@ export function Settings() { // @ts-ignore const COMMIT_HASH = import.meta.env.__COMMIT_HASH__; - const selfHosted = state.settings?.selfhosted === "true"; - - const ios = Capacitor.getPlatform() === "ios"; - return ( {i18n.t("settings.header")} - - -