Skip to content

Commit

Permalink
Fix icon colors
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Nov 17, 2023
1 parent 806449b commit 1ef612e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/HeaderWithBackButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function HeaderWithBackButton({
>
<Icon
src={Expensicons.QuestionMark}
fill={iconFill}
fill={iconFill || theme.icon}
/>
</PressableWithoutFeedback>
</Tooltip>
Expand All @@ -167,7 +167,7 @@ function HeaderWithBackButton({
>
<Icon
src={Expensicons.Close}
fill={iconFill}
fill={iconFill || theme.icon}
/>
</PressableWithoutFeedback>
</Tooltip>
Expand Down
4 changes: 3 additions & 1 deletion src/components/ThreeDotsMenu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeed
import Tooltip from '@components/Tooltip/PopoverAnchorTooltip';
import useLocalize from '@hooks/useLocalize';
import * as Browser from '@libs/Browser';
import useTheme from '@styles/themes/useTheme';
import useThemeStyles from '@styles/useThemeStyles';
import CONST from '@src/CONST';
import ThreeDotsMenuItemPropTypes from './ThreeDotsMenuItemPropTypes';
Expand Down Expand Up @@ -74,6 +75,7 @@ const defaultProps = {
};

function ThreeDotsMenu({iconTooltip, icon, iconFill, iconStyles, onIconPress, menuItems, anchorPosition, anchorAlignment, shouldOverlay, shouldSetModalVisibility, disabled}) {
const theme = useTheme();
const styles = useThemeStyles();
const [isPopupMenuVisible, setPopupMenuVisible] = useState(false);
const buttonRef = useRef(null);
Expand Down Expand Up @@ -117,7 +119,7 @@ function ThreeDotsMenu({iconTooltip, icon, iconFill, iconStyles, onIconPress, me
>
<Icon
src={icon}
fill={iconFill}
fill={iconFill || theme.icon}
/>
</PressableWithoutFeedback>
</Tooltip>
Expand Down

0 comments on commit 1ef612e

Please sign in to comment.