Skip to content

Commit e106c14

Browse files
authored
Image - support size (width, height) modifiers on Android (#1987)
1 parent 2c4e866 commit e106c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/image/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class Image extends PureComponent<Props, State> {
126126
if (Constants.isAndroid) {
127127
const {source} = this.props;
128128
const url = _.get(source, 'uri');
129-
const isGif = /(http(s?):)([/|.|\w|\s|-])*\.(?:jpg|gif|png)/.test(url);
129+
const isGif = /(http(s?):)([/|.|\w|\s|-])*\.gif/.test(url);
130130
return isGif;
131131
}
132132
}

0 commit comments

Comments
 (0)