Skip to content

Commit

Permalink
fix: gif returning as jpeg on android (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
S0ngfu committed Jul 13, 2021
1 parent 2e75dfe commit aaef8f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/src/main/java/com/imagepicker/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ static String getFileTypeFromMime(String mimeType) {
switch (mimeType) {
case "image/jpeg": return "jpg";
case "image/png": return "png";
case "image/gif": return "gif";
}
return "jpg";
}
Expand Down

0 comments on commit aaef8f3

Please sign in to comment.