瀏覽代碼

Fixed update of progress bar for file transfers in landscape mode

David A. Velasco 12 年之前
父節點
當前提交
0a924c67d3
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/com/owncloud/android/ui/activity/FileDisplayActivity.java

+ 3 - 1
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -1103,7 +1103,9 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements
             if (mDualPane) {
                 Fragment fragment = getSupportFragmentManager().findFragmentByTag(FileDetailFragment.FTAG);
                 if (fragment != null && fragment instanceof FileDetailFragment) {
-                    ((FileDetailFragment)fragment).updateFileDetails(false);
+                    FileDetailFragment detailFragment = (FileDetailFragment)fragment;
+                    detailFragment.listenForTransferProgress();
+                    detailFragment.updateFileDetails(false);
                 }
             }
         }