mirror of
https://github.com/nextcloud/android.git
synced 2024-12-22 16:54:33 +03:00
wip
This commit is contained in:
parent
689199a0b5
commit
608febb1c6
3 changed files with 5 additions and 4 deletions
|
@ -1 +1 @@
|
|||
Subproject commit f5fbca24becbb01660abe2a7013c1b536ea8a301
|
||||
Subproject commit 02c24c8a3bd87382590ece0e0744ad430718b51a
|
|
@ -413,8 +413,8 @@ public class ThumbnailsCacheManager {
|
|||
Paint p = new Paint();
|
||||
p.setAlpha(230);
|
||||
|
||||
c.drawBitmap(resizedPlayButton, (float) ((thumbnail.getWidth() / 2) - ox),
|
||||
(float) ((thumbnail.getHeight() / 2) + ym), p);
|
||||
c.drawBitmap(resizedPlayButton, (float) ((thumbnail.getWidth() / 2) + ox),
|
||||
(float) ((thumbnail.getHeight() / 2) - ym), p);
|
||||
|
||||
return resultBitmap;
|
||||
}
|
||||
|
|
|
@ -421,7 +421,7 @@ public class OCFileListFragment extends ExtendedListFragment {
|
|||
foldersCount++;
|
||||
} else {
|
||||
filesCount++;
|
||||
if (file.isImage()){
|
||||
if (file.isImage() || file.isVideo()){
|
||||
imagesCount++;
|
||||
}
|
||||
}
|
||||
|
@ -437,6 +437,7 @@ public class OCFileListFragment extends ExtendedListFragment {
|
|||
switchToGridView();
|
||||
} else {
|
||||
switchToListView();
|
||||
// switchToGridView();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue