diff --git a/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java b/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java index 48ac205dbc7e..96d593e54ac6 100644 --- a/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java +++ b/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java @@ -466,14 +466,6 @@ private void setFilename(String filename) { * @param file : An {@link OCFile} */ private void setFiletype(OCFile file) { - String mimetype = file.getMimetype(); - TextView tv = (TextView) getView().findViewById(R.id.fdType); - if (tv != null) { - // mimetype MIME type to set - String printableMimetype = DisplayUtils.convertMIMEtoPrettyPrint(mimetype); - tv.setText(printableMimetype); - } - ImageView iv = (ImageView) getView().findViewById(R.id.fdIcon); if (iv != null) { diff --git a/src/main/res/layout/file_details_fragment.xml b/src/main/res/layout/file_details_fragment.xml index 325ed308266b..3156fc41b660 100644 --- a/src/main/res/layout/file_details_fragment.xml +++ b/src/main/res/layout/file_details_fragment.xml @@ -60,27 +60,6 @@ android:layout_marginRight="16dp" android:layout_marginBottom="8dp"> - - - - - -