Fix crash when open download

This commit is contained in:
tarsin committed 2023-01-06 08:09:11 +08:00
1 parent 53a0307a8e
commit 34febe3545
1 file changed
+3 -1
@@ -1155,7 +1155,9 @@ public class DownloadsScene extends BaseToolbarScene
return;
}
DownloadInfo info = mList.get(position);
holder.thumb.load(EhCacheKeyFactory.getThumbKey(info.gid), info.thumb);
if (info.thumb != null) {
holder.thumb.load(EhCacheKeyFactory.getThumbKey(info.gid), info.thumb);
}
holder.title.setText(EhUtils.getSuitableTitle(info));
holder.uploader.setText(info.uploader);
holder.rating.setRating(info.rating);