mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-08 12:40:28 +00:00
Fixed last Glide deprecation warning.
This commit is contained in:
parent
9b3d77956c
commit
ce472e6c07
@ -283,7 +283,7 @@ class MainMetadataView : FrameLayout {
|
|||||||
|
|
||||||
val newUrl = getAlbumArtUrl(artist, album, Size.Mega)
|
val newUrl = getAlbumArtUrl(artist, album, Size.Mega)
|
||||||
if (loadedAlbumArtUrl != newUrl) {
|
if (loadedAlbumArtUrl != newUrl) {
|
||||||
GlideApp.with(context).load(newUrl).apply(BITMAP_OPTIONS).downloadOnly(width, height)
|
GlideApp.with(context).load(newUrl).apply(BITMAP_OPTIONS).submit(width, height)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user