From 015a6ce0ff8d345c7922bd5fb6992910e0e5dadf Mon Sep 17 00:00:00 2001 From: Wojciech Boman Date: Tue, 21 Nov 2023 11:13:20 +0100 Subject: [PATCH] Fix icon color in the BaseOptionsSelector component --- src/components/OptionsSelector/BaseOptionsSelector.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/OptionsSelector/BaseOptionsSelector.js b/src/components/OptionsSelector/BaseOptionsSelector.js index c2f3e2b47330..05a0026f7925 100755 --- a/src/components/OptionsSelector/BaseOptionsSelector.js +++ b/src/components/OptionsSelector/BaseOptionsSelector.js @@ -15,6 +15,7 @@ import Text from '@components/Text'; import TextInput from '@components/TextInput'; import withLocalize, {withLocalizePropTypes} from '@components/withLocalize'; import withNavigationFocus from '@components/withNavigationFocus'; +import withTheme, {withThemePropTypes} from '@components/withTheme'; import compose from '@libs/compose'; import getPlatform from '@libs/getPlatform'; import KeyboardShortcut from '@libs/KeyboardShortcut'; @@ -50,6 +51,7 @@ const propTypes = { ...optionsSelectorPropTypes, ...withLocalizePropTypes, + ...withThemePropTypes, }; const defaultProps = { @@ -539,6 +541,7 @@ class BaseOptionsSelector extends Component { src={Info} height={20} width={20} + fill={this.props.theme.icon} /> @@ -567,4 +570,4 @@ class BaseOptionsSelector extends Component { BaseOptionsSelector.defaultProps = defaultProps; BaseOptionsSelector.propTypes = propTypes; -export default compose(withLocalize, withNavigationFocus)(BaseOptionsSelector); +export default compose(withLocalize, withNavigationFocus, withTheme)(BaseOptionsSelector);