fix(ButtonCardView): Correct typo (#855)

This commit is contained in:
jonz94
2024-12-31 17:18:56 +08:00
committed by GitHub
parent b4a947a9eb
commit 6536801ec2

View File

@@ -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);
}
}