Skip to content

Commit

Permalink
Fix icon color in the BaseOptionsSelector component
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Nov 21, 2023
1 parent eca74d0 commit 015a6ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/OptionsSelector/BaseOptionsSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -50,6 +51,7 @@ const propTypes = {

...optionsSelectorPropTypes,
...withLocalizePropTypes,
...withThemePropTypes,
};

const defaultProps = {
Expand Down Expand Up @@ -539,6 +541,7 @@ class BaseOptionsSelector extends Component {
src={Info}
height={20}
width={20}
fill={this.props.theme.icon}
/>
</PressableWithoutFeedback>
</View>
Expand Down Expand Up @@ -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);

0 comments on commit 015a6ce

Please sign in to comment.