Fixed last Glide deprecation warning.

This commit is contained in:
casey langen 2019-02-16 23:42:44 -08:00
parent 9b3d77956c
commit ce472e6c07

View File

@ -283,7 +283,7 @@ class MainMetadataView : FrameLayout {
val newUrl = getAlbumArtUrl(artist, album, Size.Mega)
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)
}
}
}