Fix broken default for Image.ios.js resizeMode back to cover
Summary: I broke this on a previous change: https://pxl.cl/fh2n This caused server snapshot tests to fail: https://our.intern.facebook.com/intern/testinfra/screenshots_reports?report_id=88925 Reviewed By: mmmulani Differential Revision: D8576282 fbshipit-source-id: 03217c6b68dca63cba67f9ac04cf39bbc24e91eb
This commit is contained in:
parent
886d70516e
commit
0cca01b16e
|
@ -85,7 +85,7 @@ let Image = (
|
|||
}
|
||||
}
|
||||
|
||||
const resizeMode = props.resizeMode || style.resizeMode;
|
||||
const resizeMode = props.resizeMode || style.resizeMode || 'cover';
|
||||
const tintColor = style.tintColor;
|
||||
|
||||
if (props.src != null) {
|
||||
|
|
Loading…
Reference in New Issue