aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2023-02-02 05:10:31 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2023-02-02 05:10:31 +0530
commit338e14a95a8d1d0d4afd87283307e7874b720816 (patch)
treeb861efd2c693236abe919088dba52c3221c21a27 /src/components/auth
parentUpgrade 'electron' to '22.2.0' (diff)
downloadferdium-app-338e14a95a8d1d0d4afd87283307e7874b720816.tar.gz
ferdium-app-338e14a95a8d1d0d4afd87283307e7874b720816.tar.zst
ferdium-app-338e14a95a8d1d0d4afd87283307e7874b720816.zip
Fix duplicated i18n key with differing value
Diffstat (limited to 'src/components/auth')
-rw-r--r--src/components/auth/Locked.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/auth/Locked.tsx b/src/components/auth/Locked.tsx
index 00ff5a4c5..34d010782 100644
--- a/src/components/auth/Locked.tsx
+++ b/src/components/auth/Locked.tsx
@@ -18,10 +18,6 @@ const messages = defineMessages({
18 id: 'locked.touchId', 18 id: 'locked.touchId',
19 defaultMessage: 'Unlock with Touch ID', 19 defaultMessage: 'Unlock with Touch ID',
20 }, 20 },
21 touchIdPrompt: {
22 id: 'locked.touchIdPrompt',
23 defaultMessage: 'Unlock with Touch ID',
24 },
25 passwordLabel: { 21 passwordLabel: {
26 id: 'locked.password.label', 22 id: 'locked.password.label',
27 defaultMessage: 'Password', 23 defaultMessage: 'Password',
@@ -80,7 +76,7 @@ class Locked extends Component<IProps> {
80 const { intl } = this.props; 76 const { intl } = this.props;
81 77
82 systemPreferences 78 systemPreferences
83 .promptTouchID(intl.formatMessage(messages.touchIdPrompt)) 79 .promptTouchID(intl.formatMessage(messages.touchId))
84 .then(() => { 80 .then(() => {
85 this.props.unlock(); 81 this.props.unlock();
86 }); 82 });