Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: add copy button for support email in settings

alihamuh5ef392ca31bb
diff --git a/apps/web/src/dialogs/settings/other-settings.ts b/apps/web/src/dialogs/settings/other-settings.ts
index 1af62858d..d49b3a959 100644
--- a/apps/web/src/dialogs/settings/other-settings.ts
+++ b/apps/web/src/dialogs/settings/other-settings.ts
@@ -276,6 +276,15 @@ export const SupportSettings: SettingsGroup[] = [
title: strings.emailSupport(),
description: strings.emailSupportDesc(),
components: [
+ {
+ type: "button",
+ action: async () => {
+ await navigator.clipboard.writeText("[email protected]");
+ showToast("info", strings.copied());
+ },
+ title: strings.copy(),
+ variant: "secondary"
+ },
{
type: "button",
action: () => {