mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 01:22:11 +00:00
fix(ThumbnailBadgeView): Parse icon (#1174)
This commit is contained in:
@@ -25,7 +25,7 @@ export default class ThumbnailBadgeView extends YTNode {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.iconName) {
|
if (data.icon) {
|
||||||
this.icon_name = data.icon.sources[0].clientResource.imageName;
|
this.icon_name = data.icon.sources[0].clientResource.imageName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user