forked from inotia00/revanced-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(youtube/custom-video-speed): add missing class for
video-speeds
…
… patch (ReVanced#2137) This has been caused by a recent merge conflict resolution. Co-authored-by: oSumAtrIX <[email protected]>
- Loading branch information
1 parent
6f19600
commit 758ef42
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package app.revanced.patches.youtube.video.speed | ||
|
||
import app.revanced.patcher.annotation.Description | ||
import app.revanced.patcher.annotation.Name | ||
import app.revanced.patcher.annotation.Version | ||
import app.revanced.patcher.data.BytecodeContext | ||
import app.revanced.patcher.patch.BytecodePatch | ||
import app.revanced.patcher.patch.PatchResult | ||
import app.revanced.patcher.patch.PatchResultSuccess | ||
import app.revanced.patcher.patch.annotations.DependsOn | ||
import app.revanced.patcher.patch.annotations.Patch | ||
import app.revanced.patches.youtube.video.speed.custom.patch.CustomVideoSpeedPatch | ||
import app.revanced.patches.youtube.video.speed.remember.patch.RememberPlaybackSpeedPatch | ||
|
||
@Patch | ||
@Name("video-speed") | ||
@Description("Adds custom video speeds and ability to remember the playback speed you chose in the video playback speed flyout.") | ||
@DependsOn([CustomVideoSpeedPatch::class, RememberPlaybackSpeedPatch::class]) | ||
@Version("0.0.1") | ||
class VideoSpeeds : BytecodePatch() { | ||
override fun execute(context: BytecodeContext): PatchResult { | ||
return PatchResultSuccess() // All patches this patch depends on succeed. | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters