- same threshold
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / fragment / OCFileListFragment.java
index 3e126b9..105bb28 100644 (file)
@@ -396,6 +396,7 @@ public class OCFileListFragment extends ExtendedListFragment {
             }
             
             // > 50% Images --> image view
+            // TODO threshold as constant in Preferences
             if ((count / files.size()) >= 0.5){
                 Log_OC.i(TAG, "Image View");
                 switchImageView();