mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-28 09:06:51 +00:00
fix(ButtonCardView): Correct typo (#855)
This commit is contained in:
@@ -12,7 +12,7 @@ export default class ButtonCardView extends YTNode {
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.title = data.title;
|
||||
this.icon_name = data.icon.sources[0].clientResource.imageName;
|
||||
this.icon_name = data.image.sources[0].clientResource.imageName;
|
||||
this.on_tap_endpoint = new NavigationEndpoint(data.rendererContext.commandContext.onTap);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user