From 722a3a1a0e934cb52e5373d8cc1495863c326dc9 Mon Sep 17 00:00:00 2001 From: Martti Malmi Date: Mon, 18 Dec 2023 09:59:11 +0200 Subject: [PATCH] hide note creator toast on Iris --- packages/app/config/default.json | 3 +-- packages/app/config/iris.json | 1 + packages/app/custom.d.ts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/app/config/default.json b/packages/app/config/default.json index ff9de8f5..35e96fc7 100644 --- a/packages/app/config/default.json +++ b/packages/app/config/default.json @@ -22,8 +22,7 @@ "defaultFollows": ["npub1sn0rtcjcf543gj4wsg7fa59s700d5ztys5ctj0g69g2x6802npjqhjjtws"] }, "defaultPreferences": { - "checkSigs": true, - "sentToRelayNotifications": "all" + "checkSigs": true }, "media": { "bypassImgProxyError": false, diff --git a/packages/app/config/iris.json b/packages/app/config/iris.json index 8e2baddf..3d3985e6 100644 --- a/packages/app/config/iris.json +++ b/packages/app/config/iris.json @@ -29,6 +29,7 @@ "bypassImgProxyError": true, "preferLargeMedia": true }, + "noteCreatorToast": false, "hideFromNavbar": [], "eventLinkPrefix": "note", "profileLinkPrefix": "npub", diff --git a/packages/app/custom.d.ts b/packages/app/custom.d.ts index 97599947..470c5e57 100644 --- a/packages/app/custom.d.ts +++ b/packages/app/custom.d.ts @@ -60,7 +60,6 @@ declare const CONFIG: { }; defaultPreferences: { checkSigs: boolean; - sentToRelayNotifications: "none" | "all" | "failures"; }; signUp: { moderation: boolean; @@ -76,7 +75,7 @@ declare const CONFIG: { deckSubKind?: number; showDeck?: boolean; // Create toast notifications when publishing notes - noteCreatorToast?: boolean; + noteCreatorToast: boolean; eventLinkPrefix: NostrPrefix; profileLinkPrefix: NostrPrefix; defaultRelays: Record;