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:
Eli White 2018-06-21 11:56:37 -07:00 committed by Facebook Github Bot
parent 886d70516e
commit 0cca01b16e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {