Skip to content

Commit

Permalink
fix: fallback screen settings button icon rendering with the right color
Browse files Browse the repository at this point in the history
  • Loading branch information
Mounir HAMZAOUI committed Sep 6, 2024
1 parent cc291f5 commit e805a7e
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 e805a7e

Please sign in to comment.