From e805a7e40dfc595ebb83ae0365b643eb1ac424ba Mon Sep 17 00:00:00 2001 From: Mounir HAMZAOUI Date: Thu, 5 Sep 2024 18:43:33 +0200 Subject: [PATCH] fix: fallback screen settings button icon rendering with the right color --- .changeset/tasty-pandas-behave.md | 5 +++++ .../src/components/RequiresCameraPermissions/Fallback.tsx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/tasty-pandas-behave.md diff --git a/.changeset/tasty-pandas-behave.md b/.changeset/tasty-pandas-behave.md new file mode 100644 index 000000000000..b93c275f2238 --- /dev/null +++ b/.changeset/tasty-pandas-behave.md @@ -0,0 +1,5 @@ +--- +"live-mobile": patch +--- + +Assign the right color to settings icon in Fallback camera permission screen diff --git a/apps/ledger-live-mobile/src/components/RequiresCameraPermissions/Fallback.tsx b/apps/ledger-live-mobile/src/components/RequiresCameraPermissions/Fallback.tsx index cba184296984..c0955df64c5c 100644 --- a/apps/ledger-live-mobile/src/components/RequiresCameraPermissions/Fallback.tsx +++ b/apps/ledger-live-mobile/src/components/RequiresCameraPermissions/Fallback.tsx @@ -15,8 +15,6 @@ type Props = { hasNoBackground?: boolean; }; -const IconSettings = () => ; - const FallbackCameraBody: React.FC = ({ title, description, @@ -27,6 +25,8 @@ const FallbackCameraBody: React.FC = ({ }: Props) => { const { colors } = useTheme(); + const IconSettings = () => ; + return (