forked from coracle/flotilla
Disable wallet on ios
This commit is contained in:
@@ -358,7 +358,7 @@
|
|||||||
CODE_SIGN_ENTITLEMENTS = "Flotilla Chat.entitlements";
|
CODE_SIGN_ENTITLEMENTS = "Flotilla Chat.entitlements";
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 30;
|
CURRENT_PROJECT_VERSION = 31;
|
||||||
DEVELOPMENT_TEAM = S26U9DYW3A;
|
DEVELOPMENT_TEAM = S26U9DYW3A;
|
||||||
INFOPLIST_FILE = App/Info.plist;
|
INFOPLIST_FILE = App/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Flotilla Chat";
|
INFOPLIST_KEY_CFBundleDisplayName = "Flotilla Chat";
|
||||||
@@ -385,7 +385,7 @@
|
|||||||
CODE_SIGN_ENTITLEMENTS = "Flotilla Chat.entitlements";
|
CODE_SIGN_ENTITLEMENTS = "Flotilla Chat.entitlements";
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 30;
|
CURRENT_PROJECT_VERSION = 31;
|
||||||
DEVELOPMENT_TEAM = S26U9DYW3A;
|
DEVELOPMENT_TEAM = S26U9DYW3A;
|
||||||
INFOPLIST_FILE = App/Info.plist;
|
INFOPLIST_FILE = App/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = "Flotilla Chat";
|
INFOPLIST_KEY_CFBundleDisplayName = "Flotilla Chat";
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import {Capacitor} from "@capacitor/core"
|
||||||
import UserRounded from "@assets/icons/user-rounded.svg?dataurl"
|
import UserRounded from "@assets/icons/user-rounded.svg?dataurl"
|
||||||
import Server from "@assets/icons/server.svg?dataurl"
|
import Server from "@assets/icons/server.svg?dataurl"
|
||||||
import Moon from "@assets/icons/moon.svg?dataurl"
|
import Moon from "@assets/icons/moon.svg?dataurl"
|
||||||
@@ -52,19 +53,21 @@
|
|||||||
{/snippet}
|
{/snippet}
|
||||||
</CardButton>
|
</CardButton>
|
||||||
</Link>
|
</Link>
|
||||||
<Link replaceState href="/settings/wallet">
|
{#if Capacitor.getPlatform() !== "ios"}
|
||||||
<CardButton class="btn-neutral">
|
<Link replaceState href="/settings/wallet">
|
||||||
{#snippet icon()}
|
<CardButton class="btn-neutral">
|
||||||
<div><Icon icon={Wallet} size={7} /></div>
|
{#snippet icon()}
|
||||||
{/snippet}
|
<div><Icon icon={Wallet} size={7} /></div>
|
||||||
{#snippet title()}
|
{/snippet}
|
||||||
<div>Wallet</div>
|
{#snippet title()}
|
||||||
{/snippet}
|
<div>Wallet</div>
|
||||||
{#snippet info()}
|
{/snippet}
|
||||||
<div>Connect a bitcoin wallet for sending social tips</div>
|
{#snippet info()}
|
||||||
{/snippet}
|
<div>Connect a bitcoin wallet for sending social tips</div>
|
||||||
</CardButton>
|
{/snippet}
|
||||||
</Link>
|
</CardButton>
|
||||||
|
</Link>
|
||||||
|
{/if}
|
||||||
<Link replaceState href="/settings/relays">
|
<Link replaceState href="/settings/relays">
|
||||||
<CardButton class="btn-neutral">
|
<CardButton class="btn-neutral">
|
||||||
{#snippet icon()}
|
{#snippet icon()}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type {Snippet} from "svelte"
|
import type {Snippet} from "svelte"
|
||||||
|
import {Capacitor} from "@capacitor/core"
|
||||||
import {fly} from "@lib/transition"
|
import {fly} from "@lib/transition"
|
||||||
import UserCircle from "@assets/icons/user-circle.svg?dataurl"
|
import UserCircle from "@assets/icons/user-circle.svg?dataurl"
|
||||||
import Wallet from "@assets/icons/wallet.svg?dataurl"
|
import Wallet from "@assets/icons/wallet.svg?dataurl"
|
||||||
@@ -45,11 +46,13 @@
|
|||||||
<Icon icon={Bell} /> Alerts
|
<Icon icon={Bell} /> Alerts
|
||||||
</SecondaryNavItem>
|
</SecondaryNavItem>
|
||||||
</div>
|
</div>
|
||||||
<div in:fly|local={{delay: 100}}>
|
{#if Capacitor.getPlatform() !== "ios"}
|
||||||
<SecondaryNavItem href="/settings/wallet">
|
<div in:fly|local={{delay: 100}}>
|
||||||
<Icon icon={Wallet} /> Wallet
|
<SecondaryNavItem href="/settings/wallet">
|
||||||
</SecondaryNavItem>
|
<Icon icon={Wallet} /> Wallet
|
||||||
</div>
|
</SecondaryNavItem>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div in:fly|local={{delay: 150}}>
|
<div in:fly|local={{delay: 150}}>
|
||||||
<SecondaryNavItem href="/settings/relays">
|
<SecondaryNavItem href="/settings/relays">
|
||||||
<Icon icon={Server} /> Relays
|
<Icon icon={Server} /> Relays
|
||||||
|
|||||||
Reference in New Issue
Block a user