Skip to content

Commit

Permalink
Merge pull request #34530 from s-alves10/fix/issue-34500
Browse files Browse the repository at this point in the history
fix: remove fill props from Icon in ImageCropView
(cherry picked from commit f11ee3a)
  • Loading branch information
mountiny authored and OSBotify committed Jan 16, 2024
1 parent ca8f644 commit 19eeacd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/AvatarCropModal/ImageCropView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Animated, {interpolate, useAnimatedStyle} from 'react-native-reanimated';
import Icon from '@components/Icon';
import * as Expensicons from '@components/Icon/Expensicons';
import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import ControlSelection from '@libs/ControlSelection';
import gestureHandlerPropTypes from './gestureHandlerPropTypes';
Expand Down Expand Up @@ -51,7 +50,6 @@ const defaultProps = {
};

function ImageCropView(props) {
const theme = useTheme();
const styles = useThemeStyles();
const StyleUtils = useStyleUtils();
const containerStyle = StyleUtils.getWidthAndHeightStyle(props.containerSize, props.containerSize);
Expand Down Expand Up @@ -90,7 +88,8 @@ function ImageCropView(props) {
<View style={[containerStyle, styles.l0, styles.b0, styles.pAbsolute]}>
<Icon
src={props.maskImage}
fill={theme.iconReversed}
// TODO uncomment the line once the tint color issue for android(https://github.com/expo/expo/issues/21530#issuecomment-1836283564) is fixed
// fill={theme.iconReversed}
width={props.containerSize}
height={props.containerSize}
/>
Expand Down

0 comments on commit 19eeacd

Please sign in to comment.