@@ -102,7 +102,7 @@
2. Data Protection
IOTA does not collect any of your personal data through the App. Please refer to the Firefly Privacy Policy (
- Platform.openUrl('https://firefly.iota.org/privacy')}>
+ openUrlInBrowser('https://firefly.iota.org/privacy')}>
https://firefly.iota.org/privacy
) for information on how we and our third-party service providers process data in relation to the App.
@@ -399,7 +399,7 @@
This Privacy Policy is dedicated to the users of the App. If you would like to know more about how the IOTA
Foundation (hereinafter "IOTA", "we", "us", "our") processes Personal Data collected and processed in connection
with other services and activities offered by IOTA, please see IOTA's general Privacy Policy available at
- Platform.openUrl('https://www.iota.org/privacy-policy')}>
+ openUrlInBrowser('https://www.iota.org/privacy-policy')}>
https://www.iota.org/privacy-policy
.
diff --git a/packages/shared/components/molecules/activity-info/GenericActivityInformation.svelte b/packages/shared/components/molecules/activity-info/GenericActivityInformation.svelte
index c7de3fc9e39..a6015b02f4c 100644
--- a/packages/shared/components/molecules/activity-info/GenericActivityInformation.svelte
+++ b/packages/shared/components/molecules/activity-info/GenericActivityInformation.svelte
@@ -5,7 +5,7 @@
import { Activity, formatTokenAmountPrecise } from '@core/wallet'
import { BASE_TOKEN, ExplorerEndpoint } from '@core/network'
import { getOfficialExplorerUrl } from '@core/network/utils'
- import { Platform } from '@core/app'
+ import { openUrlInBrowser } from '@core/app'
import { truncateString } from '@core/utils'
import { setClipboard } from '@core/utils'
@@ -68,7 +68,7 @@
function handleTransactionIdClick(): void {
explorerUrl
- ? Platform.openUrl(
+ ? openUrlInBrowser(
`${explorerUrl}/${ExplorerEndpoint.Transaction}/${activity.asyncData?.claimingTransactionId}`
)
: setClipboard(activity.asyncData?.claimingTransactionId)
diff --git a/packages/shared/components/popups/ActivityDetailsPopup.svelte b/packages/shared/components/popups/ActivityDetailsPopup.svelte
index e8e2c6816e9..1fc67fb8fab 100644
--- a/packages/shared/components/popups/ActivityDetailsPopup.svelte
+++ b/packages/shared/components/popups/ActivityDetailsPopup.svelte
@@ -12,7 +12,7 @@
NftActivityDetails,
ActivityInformation,
} from 'shared/components'
- import { Platform } from '@core/app'
+ import { openUrlInBrowser } from '@core/app'
import {
ActivityAsyncStatus,
ActivityDirection,
@@ -84,7 +84,7 @@
}
function handleExplorerClick(): void {
- Platform.openUrl(`${explorerUrl}/${ExplorerEndpoint.Transaction}/${activity.transactionId}`)
+ openUrlInBrowser(`${explorerUrl}/${ExplorerEndpoint.Transaction}/${activity.transactionId}`)
}
function handleTransactionIdClick(): void {
diff --git a/packages/shared/components/popups/ConfirmationPopup.svelte b/packages/shared/components/popups/ConfirmationPopup.svelte
index 0c0dcbe5329..6fb9d4e152e 100644
--- a/packages/shared/components/popups/ConfirmationPopup.svelte
+++ b/packages/shared/components/popups/ConfirmationPopup.svelte
@@ -37,7 +37,7 @@