1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2024-12-28 09:40:27 +01:00

Merge branch 'develop' into fix/edit_server

This commit is contained in:
Nite 2020-09-25 20:11:14 +02:00 committed by GitHub
commit 4b85bc16d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,11 +120,11 @@ public class LegacyImageLoader implements Runnable, ImageLoader {
}
private void createLargeUnknownImage(Context context) {
BitmapDrawable drawable = (BitmapDrawable) context.getResources().getDrawable(R.drawable.unknown_album);
Drawable drawable = context.getResources().getDrawable(R.drawable.unknown_album);
Log.i(TAG, "createLargeUnknownImage");
if (drawable != null) {
largeUnknownImage = Util.scaleBitmap(drawable.getBitmap(), imageSizeLarge);
largeUnknownImage = Util.createBitmapFromDrawable(drawable);
}
}