diff --git a/src/app/components/BunkerConnect.svelte b/src/app/components/BunkerConnect.svelte
index 6d795a7c..2e53c34a 100644
--- a/src/app/components/BunkerConnect.svelte
+++ b/src/app/components/BunkerConnect.svelte
@@ -11,13 +11,10 @@
const {controller}: Props = $props()
const {url, loading} = controller
+ const isIos = Capacitor.getPlatform() === "ios"
- const openAegis = () => {
- controller.launchSigner("aegis")
- }
-
- const openNostrSigner = () => {
- controller.launchSigner("nostrsigner")
+ const openSigner = () => {
+ controller.launchSigner()
}
@@ -30,10 +27,9 @@
Scan with your signer to log in, or click to copy.
- {#if Capacitor.isNativePlatform()}
+ {#if isIos}
-
-
+
{/if}
diff --git a/src/app/util/nip46.ts b/src/app/util/nip46.ts
index 1755addf..62297f3f 100644
--- a/src/app/util/nip46.ts
+++ b/src/app/util/nip46.ts
@@ -13,8 +13,6 @@ import {pushToast} from "@app/util/toast"
const APP_SCHEME = "social.flotilla"
-type NostrSignerScheme = "aegis" | "nostrsigner"
-
const makeSignerCallbackUrl = (path: string) => `${APP_SCHEME}://x-callback-url/${path}`
const makeSignerLaunchUrl = (nostrconnectUrl: string) => {
@@ -72,7 +70,7 @@ export class Nip46Controller {
}
}
- launchSigner(_scheme?: NostrSignerScheme) {
+ launchSigner() {
const nostrconnectUrl = get(this.url)
const signerUrl = nostrconnectUrl && makeSignerLaunchUrl(nostrconnectUrl)