From: jabarros Date: Fri, 9 Jan 2015 08:46:11 +0000 (+0100) Subject: Fixed. In the upload view, videos does not have the correct icon X-Git-Tag: oc-android-1.7.0_signed~42^2~3 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/cc153211735739e30e50454c3a0602db57c82514?ds=inline;hp=-c Fixed. In the upload view, videos does not have the correct icon --- cc153211735739e30e50454c3a0602db57c82514 diff --git a/src/com/owncloud/android/utils/DisplayUtils.java b/src/com/owncloud/android/utils/DisplayUtils.java index 2be89343..f0f5265c 100644 --- a/src/com/owncloud/android/utils/DisplayUtils.java +++ b/src/com/owncloud/android/utils/DisplayUtils.java @@ -222,7 +222,7 @@ public class DisplayUtils { private static String getExtension(String filename) { - String extension = filename.substring(filename.lastIndexOf(".") + 1); + String extension = filename.toLowerCase().substring(filename.lastIndexOf(".") + 1); return extension; }