shareWithMe is shown in the file list
authorpurigarcia <pgarcia@solidgear.es>
Wed, 8 Jul 2015 15:41:41 +0000 (17:41 +0200)
committerpurigarcia <pgarcia@solidgear.es>
Wed, 8 Jul 2015 15:41:41 +0000 (17:41 +0200)
src/com/owncloud/android/ui/adapter/FileListListAdapter.java

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