瀏覽代碼

fix use of asyncDrawable

AndyScherzinger 7 年之前
父節點
當前提交
c7d8171be1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java

+ 1 - 1
src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java

@@ -589,7 +589,7 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
                                 );
                         iv.setVisibility(View.GONE);
                         v.setVisibility(View.GONE);
-                        previewImage.setImageBitmap(resizedImage);
+                        previewImage.setImageDrawable(asyncDrawable);
                         activatePreviewImage();
                         previewLoaded = true;
                         task.execute(getFile());