From 751a32a6ac74af57055b7c6ea6e49eb012bb1826 Mon Sep 17 00:00:00 2001 From: Marco Toniut Date: Mon, 9 Sep 2024 12:25:44 +0100 Subject: [PATCH] fix: use styled-components default theme for EarnInfoDrawer --- .../src/screens/PTX/Earn/EarnInfoDrawer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ledger-live-mobile/src/screens/PTX/Earn/EarnInfoDrawer.tsx b/apps/ledger-live-mobile/src/screens/PTX/Earn/EarnInfoDrawer.tsx index 6ef4359b42fa..87d11f8f0c4e 100644 --- a/apps/ledger-live-mobile/src/screens/PTX/Earn/EarnInfoDrawer.tsx +++ b/apps/ledger-live-mobile/src/screens/PTX/Earn/EarnInfoDrawer.tsx @@ -1,10 +1,10 @@ import { Button, Flex, Link, Text } from "@ledgerhq/native-ui"; -import { useTheme } from "@react-navigation/native"; import React, { useCallback, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { Linking } from "react-native"; import Svg, { Path } from "react-native-svg"; import { useDispatch, useSelector } from "react-redux"; +import { useTheme } from "styled-components/native"; import { setEarnInfoModal } from "~/actions/earn"; import { Track } from "~/analytics"; import Circle from "~/components/Circle"; @@ -43,10 +43,10 @@ export function EarnInfoDrawer() { - +