From 9ce3331ebcc99cb6202a7a82cbccbafa3ef8072d Mon Sep 17 00:00:00 2001 From: Martin Cayuelas Date: Thu, 25 Apr 2024 11:14:40 +0200 Subject: [PATCH] [BUGFIX]: APP crash on receive flow when clicking learn --- .changeset/hot-pumas-obey.md | 5 +++++ .../src/screens/ReceiveFunds/03-Confirmation.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/hot-pumas-obey.md diff --git a/.changeset/hot-pumas-obey.md b/.changeset/hot-pumas-obey.md new file mode 100644 index 000000000000..99e1bdac4951 --- /dev/null +++ b/.changeset/hot-pumas-obey.md @@ -0,0 +1,5 @@ +--- +"live-mobile": patch +--- + +App crashes when tapping 'Learn how to withdraw from exchange' in receive flow diff --git a/apps/ledger-live-mobile/src/screens/ReceiveFunds/03-Confirmation.tsx b/apps/ledger-live-mobile/src/screens/ReceiveFunds/03-Confirmation.tsx index ff710928574f..d86917c20e1d 100644 --- a/apps/ledger-live-mobile/src/screens/ReceiveFunds/03-Confirmation.tsx +++ b/apps/ledger-live-mobile/src/screens/ReceiveFunds/03-Confirmation.tsx @@ -39,6 +39,7 @@ import { hasClosedWithdrawBannerSelector } from "~/reducers/settings"; import { setCloseWithdrawBanner } from "~/actions/settings"; import * as Animatable from "react-native-animatable"; import { useCompleteActionCallback } from "~/logic/postOnboarding/useCompleteAction"; +import { urls } from "~/utils/urls"; const AnimatedView = Animatable.View; @@ -121,7 +122,6 @@ function ReceiveConfirmationInner({ navigation, route, account, parentAccount }: type: "card", page: "Receive Account Qr Code", }); - // @ts-expect-error TYPINGS Linking.openURL(urls.withdrawCrypto); }; useEffect(() => {