From 1ef612e3522e7fefffd575f45ee68f3de25d8bbd Mon Sep 17 00:00:00 2001 From: Wojciech Boman Date: Fri, 17 Nov 2023 17:10:51 +0100 Subject: [PATCH] Fix icon colors --- src/components/HeaderWithBackButton/index.js | 4 ++-- src/components/ThreeDotsMenu/index.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/HeaderWithBackButton/index.js b/src/components/HeaderWithBackButton/index.js index 5fbf7d8419b5..7bc558bd207d 100755 --- a/src/components/HeaderWithBackButton/index.js +++ b/src/components/HeaderWithBackButton/index.js @@ -142,7 +142,7 @@ function HeaderWithBackButton({ > @@ -167,7 +167,7 @@ function HeaderWithBackButton({ > diff --git a/src/components/ThreeDotsMenu/index.js b/src/components/ThreeDotsMenu/index.js index 8be456303b22..de145e63a9c7 100644 --- a/src/components/ThreeDotsMenu/index.js +++ b/src/components/ThreeDotsMenu/index.js @@ -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'; @@ -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); @@ -117,7 +119,7 @@ function ThreeDotsMenu({iconTooltip, icon, iconFill, iconStyles, onIconPress, me >