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 99bc060774..d1d40397d3 100644 --- a/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java +++ b/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java @@ -187,15 +187,19 @@ public class FileDetailFragment extends FileFragment implements OnClickListener view.findViewById(R.id.fdFavorite).setOnClickListener(this); view.findViewById(R.id.overflow_menu).setOnClickListener(this); previewImage = getActivity().findViewById(R.id.preview_image); + // TODO use whenever we switch to use glide for preview images + /* if (getFile() != null && account != null && MimeTypeUtil.isImage(getFile())) { - //setHeaderImage(); + setHeaderImage(); } + */ } updateFileDetails(false, false); return view; } - + // TODO use whenever we switch to use glide for preview images + /* private void setHeaderImage() { if (mContainerActivity.getStorageManager().getCapability(account.name) .getServerBackground() != null && previewImage != null) { @@ -239,7 +243,8 @@ public class FileDetailFragment extends FileFragment implements OnClickListener toolbarProgressBar.setVisibility(View.VISIBLE); } } -} + } + */ public void onOverflowIconClicked(View view) { PopupMenu popup = new PopupMenu(getActivity(), view);