projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- same threshold
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
fragment
/
OCFileListFragment.java
diff --git
a/src/com/owncloud/android/ui/fragment/OCFileListFragment.java
b/src/com/owncloud/android/ui/fragment/OCFileListFragment.java
index
3e126b9
..
105bb28
100644
(file)
--- a/
src/com/owncloud/android/ui/fragment/OCFileListFragment.java
+++ b/
src/com/owncloud/android/ui/fragment/OCFileListFragment.java
@@
-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();