mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-24 12:50:58 +03: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