Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java

Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
This commit is contained in:
Tobias Kaminsky 2022-10-14 14:24:42 +02:00 committed by Álvaro Brey
parent 2d36f7b872
commit 9c4fe0a22c
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

@ -1195,9 +1195,6 @@ public final class ThumbnailsCacheManager {
}
public static Bitmap addVideoOverlay(Bitmap thumbnail, Context context) {
// int minValue = Math.min(thumbnail.getWidth(), thumbnail.getHeight());
// int playButtonWidth = (int) (minValue * 0.2);
// int playButtonHeight = (int) (minValue * 0.2);
Drawable playButtonDrawable = ResourcesCompat.getDrawable(MainApp.getAppContext().getResources(),
R.drawable.video_white,