mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-16 19:50:35 +01:00
Unnecesary null-check
This commit is contained in:
parent
7ed91db250
commit
e6624ada9a
@ -31,7 +31,7 @@ class BitmapUtils {
|
||||
if (entry == null) return null
|
||||
val albumArtFile = FileUtil.getAlbumArtFile(entry)
|
||||
val bitmap: Bitmap? = null
|
||||
if (albumArtFile != null && albumArtFile.exists()) {
|
||||
if (albumArtFile.exists()) {
|
||||
return getBitmapFromDisk(albumArtFile.path, size, bitmap)
|
||||
}
|
||||
return null
|
||||
|
Loading…
x
Reference in New Issue
Block a user