fix(android): make center ResizeMode work correctly

This commit is contained in:
Connor Emma 2020-07-17 00:02:09 -06:00 committed by GitHub
parent 7314947234
commit d648ef8504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class FastImageViewConverter {
put("contain", ScaleType.FIT_CENTER); put("contain", ScaleType.FIT_CENTER);
put("cover", ScaleType.CENTER_CROP); put("cover", ScaleType.CENTER_CROP);
put("stretch", ScaleType.FIT_XY); put("stretch", ScaleType.FIT_XY);
put("center", ScaleType.CENTER); put("center", ScaleType.CENTER_INSIDE);
}}; }};
// Resolve the source uri to a file path that android understands. // Resolve the source uri to a file path that android understands.