Skip to content

Commit

Permalink
fix(android): make center ResizeMode work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Emma authored Jul 17, 2020
1 parent 7314947 commit d648ef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class FastImageViewConverter {
put("contain", ScaleType.FIT_CENTER);
put("cover", ScaleType.CENTER_CROP);
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.
Expand Down

0 comments on commit d648ef8

Please sign in to comment.