mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
feat(Kids): Add blockChannel command to easily block channels (#503)
* Add blockChannel command to support easily blocking content for supervised accounts. * Moved blockChannel functionality to the Kids client and updated API docs. * Fix whitepsace issues. * Resolve remaining linting errors. * Avoid changing interaction manager. Remove comment for ToggleButton change. * chore: clean up --------- Co-authored-by: LuanRT <luan.lrt4@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@ export default class ToggleButton extends YTNode {
|
||||
this.toggled_tooltip = data.toggledTooltip;
|
||||
this.is_toggled = data.isToggled;
|
||||
this.is_disabled = data.isDisabled;
|
||||
this.icon_type = data.defaultIcon.iconType;
|
||||
this.icon_type = data.defaultIcon?.iconType;
|
||||
|
||||
const acc_label =
|
||||
data?.defaultText?.accessibility?.accessibilityData?.label ||
|
||||
|
||||
Reference in New Issue
Block a user