Skip to content

Commit

Permalink
Merge pull request #7764 from LedgerHQ/bugfix/LIVE-13351
Browse files Browse the repository at this point in the history
fix: fallback screen settings button icon rendering with the right color
  • Loading branch information
themooneer authored Sep 6, 2024
2 parents dbc0a9a + e805a7e commit 4999d67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-pandas-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

Assign the right color to settings icon in Fallback camera permission screen
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ type Props = {
hasNoBackground?: boolean;
};

const IconSettings = () => <Icon name="settings" size={16} color="neutral.c100" />;

const FallbackCameraBody: React.FC<Props> = ({
title,
description,
Expand All @@ -27,6 +25,8 @@ const FallbackCameraBody: React.FC<Props> = ({
}: Props) => {
const { colors } = useTheme();

const IconSettings = () => <Icon name="settings" size={16} color={colors.neutral.c00} />;

return (
<Flex flex={1} bg={hasNoBackground ? "transparent" : "background.main"} px={6}>
<Flex flex={1} alignItems="center" justifyContent="center">
Expand Down

0 comments on commit 4999d67

Please sign in to comment.