From ee827def760ec1b4fd69992187e4c915a8df7d5e Mon Sep 17 00:00:00 2001 From: tienifr Date: Mon, 11 Mar 2024 15:32:56 +0700 Subject: [PATCH 1/2] fix: blank page opens in download mac app link --- src/pages/settings/AppDownloadLinks.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/settings/AppDownloadLinks.tsx b/src/pages/settings/AppDownloadLinks.tsx index e4165178ff2f..e4ce69af03a1 100644 --- a/src/pages/settings/AppDownloadLinks.tsx +++ b/src/pages/settings/AppDownloadLinks.tsx @@ -29,7 +29,7 @@ function AppDownloadLinksPage() { { translationKey: 'initialSettingsPage.appDownloadLinks.android.label', action: () => { - Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.ANDROID); + Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.ANDROID, true); }, link: CONST.APP_DOWNLOAD_LINKS.ANDROID, icon: Expensicons.Android, @@ -47,7 +47,7 @@ function AppDownloadLinksPage() { { translationKey: 'initialSettingsPage.appDownloadLinks.desktop.label', action: () => { - Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.DESKTOP); + Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.DESKTOP, true); }, link: CONST.APP_DOWNLOAD_LINKS.DESKTOP, icon: Expensicons.Monitor, From e9928c247c37a9004416e8b635b13e51a9de4a4b Mon Sep 17 00:00:00 2001 From: tienifr Date: Mon, 11 Mar 2024 15:53:15 +0700 Subject: [PATCH 2/2] remove redundant changes --- src/pages/settings/AppDownloadLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/settings/AppDownloadLinks.tsx b/src/pages/settings/AppDownloadLinks.tsx index e4ce69af03a1..00f6aeec04db 100644 --- a/src/pages/settings/AppDownloadLinks.tsx +++ b/src/pages/settings/AppDownloadLinks.tsx @@ -29,7 +29,7 @@ function AppDownloadLinksPage() { { translationKey: 'initialSettingsPage.appDownloadLinks.android.label', action: () => { - Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.ANDROID, true); + Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.ANDROID); }, link: CONST.APP_DOWNLOAD_LINKS.ANDROID, icon: Expensicons.Android,