Skip to content

Commit

Permalink
fix(YouTube - Hide Shorts components): Add missing options to patch
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Nov 25, 2024
1 parent 2bfa15a commit 65f62fc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ val hideShortsComponentsPatch = bytecodePatch(
),
)

hideShortsAppShortcutOption()
hideShortsWidgetOption()

execute {
// region Hide the Shorts shelf.

Expand Down

2 comments on commit 65f62fc

@LisoUseInAIKyrios
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These options are also declared in the resource patch.

val hideShortsAppShortcut by hideShortsAppShortcutOption
val hideShortsWidget by hideShortsWidgetOption

Are the options needed a second time?

@oSumAtrIX
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We add the options to the patch that is shown to the user, and then the same options are used in another patch, so yes.

Please sign in to comment.