浏览代码

shareWithMe is shown in the file list

purigarcia 9 年之前
父节点
当前提交
0e95ee3e67
共有 1 个文件被更改,包括 8 次插入9 次删除
  1. 8 9
      src/com/owncloud/android/ui/adapter/FileListListAdapter.java

+ 8 - 9
src/com/owncloud/android/ui/adapter/FileListListAdapter.java

@@ -268,17 +268,16 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter {
                     }
                     }
 
 
                     // share with me icon
                     // share with me icon
-                    if (!file.isFolder()) {
-                        ImageView sharedWithMeIconV = (ImageView)
-                                view.findViewById(R.id.sharedWithMeIcon);
-                        sharedWithMeIconV.bringToFront();
-                        if (checkIfFileIsSharedWithMe(file)) {
-                            sharedWithMeIconV.setVisibility(View.VISIBLE);
-                        } else {
-                            sharedWithMeIconV.setVisibility(View.GONE);
-                        }
+                    ImageView sharedWithMeIconV = (ImageView)
+                            view.findViewById(R.id.sharedWithMeIcon);
+                    sharedWithMeIconV.bringToFront();
+                    if (checkIfFileIsSharedWithMe(file)) {
+                        sharedWithMeIconV.setVisibility(View.VISIBLE);
+                    } else {
+                        sharedWithMeIconV.setVisibility(View.GONE);
                     }
                     }
 
 
+
                     break;
                     break;
             }
             }