fix: playlist cover exists even if there is not load image

This commit is contained in:
Nikita 2024-03-18 04:01:33 +03:00
parent 4623985f84
commit 12236a95b4

View File

@ -136,6 +136,7 @@ class PlaylistFragment : DynamicLayoutManagerFragment() {
nextPage = response.nextpage
playlistName = response.name
isLoading = false
if (!response.thumbnailUrl.isNullOrEmpty())
ImageHelper.loadImage(response.thumbnailUrl, binding.thumbnail)
binding.playlistProgress.isGone = true
binding.playlistAppBar.isVisible = true