From 338e14a95a8d1d0d4afd87283307e7874b720816 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Thu, 2 Feb 2023 05:10:31 +0530 Subject: Fix duplicated i18n key with differing value --- src/lib/Menu.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/Menu.ts b/src/lib/Menu.ts index c206ea55d..5356ec2c6 100644 --- a/src/lib/Menu.ts +++ b/src/lib/Menu.ts @@ -221,10 +221,6 @@ const menuItems = defineMessages({ id: 'locked.touchId', defaultMessage: 'Unlock with Touch ID', }, - touchIdPrompt: { - id: 'locked.touchIdPrompt', - defaultMessage: 'unlock via Touch ID', - }, tos: { id: 'menu.help.tos', defaultMessage: 'Terms of Service', @@ -848,7 +844,7 @@ class FranzMenu implements StoresProps { visible: touchIdEnabled, click() { systemPreferences - .promptTouchID(intl.formatMessage(menuItems.touchIdPrompt)) + .promptTouchID(intl.formatMessage(menuItems.touchId)) .then(() => { actions.settings.update({ type: 'app', -- cgit v1.2.3-70-g09d2