Skip to content

Commit

Permalink
Remove mutiny plus references
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyGiorgio committed Jul 1, 2024
1 parent 09a68b2 commit fcf7f5e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
20 changes: 0 additions & 20 deletions src/routes/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,26 +89,6 @@ export function Profile() {
<NiceP>{i18n.t("profile.edit_profile")}</NiceP>
</div>
</ButtonCard>
<Show
when={
!hasMutinyAddress() && import.meta.env.VITE_HERMES
}
>
<ButtonCard
onClick={() =>
navigate("/settings/lightningaddress")
}
>
<div class="flex items-center gap-2">
<AtSign class="inline-block text-m-red" />
<NiceP>
{i18n.t(
"settings.lightning_address.create"
)}
</NiceP>
</div>
</ButtonCard>
</Show>
</Show>
<Show when={profile() && profile()?.deleted}>
<ButtonCard
Expand Down
16 changes: 0 additions & 16 deletions src/routes/settings/Plus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,22 +198,6 @@ export function Plus() {
{i18n.t("settings.plus.wallet_connection")}
</A>
</NiceP>
<Show when={import.meta.env.VITE_HERMES}>
<ButtonCard
onClick={() =>
navigate("/settings/lightningaddress")
}
>
<div class="flex items-center gap-2">
<AtSign class="inline-block text-m-red" />
<NiceP>
{i18n.t(
"settings.lightning_address.create"
)}
</NiceP>
</div>
</ButtonCard>
</Show>
</Match>
<Match when={!state.mutiny_plus}>
<NiceP>
Expand Down
4 changes: 0 additions & 4 deletions src/routes/settings/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
DefaultMain,
ExternalLink,
LargeHeader,
MutinyPlusCta,
NavBar,
SettingsCard,
TinyText,
Expand Down Expand Up @@ -82,9 +81,6 @@ export function Settings() {
<BackLink />
<LargeHeader>{i18n.t("settings.header")}</LargeHeader>
<VStack biggap>
<Show when={state.mutiny_plus || (!selfHosted && !ios)}>
<MutinyPlusCta />
</Show>
<SettingsLinkList
header={i18n.t("settings.general")}
links={[
Expand Down

0 comments on commit fcf7f5e

Please sign in to comment.