From 93f217115551f5778b4b66e0b3c9782a521f56a7 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 4 Sep 2024 17:40:23 +1000 Subject: [PATCH] fix: enable link preview first use matches other platforms --- ts/interactions/conversationInteractions.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ts/interactions/conversationInteractions.ts b/ts/interactions/conversationInteractions.ts index 684164c9d..428328012 100644 --- a/ts/interactions/conversationInteractions.ts +++ b/ts/interactions/conversationInteractions.ts @@ -693,8 +693,8 @@ export async function showLinkSharingConfirmationModalDialog(e: any) { if (!alreadyDisplayedPopup) { window.inboxStore?.dispatch( updateConfirmModal({ - title: window.i18n('linkPreviewsSend'), - i18nMessage: { token: 'linkPreviewsSendModalDescription' }, + title: window.i18n('linkPreviewsEnable'), + i18nMessage: { token: 'linkPreviewsFirstDescription' }, okTheme: SessionButtonColor.Danger, onClickOk: async () => { await window.setSettingValue(SettingsKey.settingsLinkPreview, true); @@ -702,6 +702,7 @@ export async function showLinkSharingConfirmationModalDialog(e: any) { onClickClose: async () => { await Storage.put(SettingsKey.hasLinkPreviewPopupBeenDisplayed, true); }, + okText: window.i18n('enable'), }) ); }