Skip to content

Commit

Permalink
fix(youtube/sponsorblock): change invalid patch name
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 authored and YT-Advanced committed Sep 14, 2023
1 parent 6087d7b commit ae06785
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ package app.revanced.patches.youtube.utils.sponsorblock.resource.patch

import app.revanced.patcher.annotation.Description
import app.revanced.patcher.annotation.Name

import app.revanced.patcher.data.ResourceContext

import app.revanced.patcher.patch.ResourcePatch
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.patch.annotations.Patch
Expand All @@ -16,7 +14,7 @@ import app.revanced.util.resources.ResourceUtils.copyResources
import app.revanced.util.resources.ResourceUtils.copyXmlNode

@Patch
@Name("Sponsorblock")
@Name("SponsorBlock")
@Description("Integrates SponsorBlock which allows skipping video segments such as sponsored content.")
@DependsOn(
[
Expand All @@ -25,8 +23,7 @@ import app.revanced.util.resources.ResourceUtils.copyXmlNode
]
)
@YouTubeCompatibility

class SponsorBlockResourcePatch : ResourcePatch {
class SponsorBlockPatch : ResourcePatch {

override fun execute(context: ResourceContext) {
/**
Expand Down Expand Up @@ -103,5 +100,6 @@ class SponsorBlockResourcePatch : ResourcePatch {
SettingsPatch.addReVancedPreference("sponsorblock_settings")

SettingsPatch.updatePatchStatus("sponsorblock")

}
}

0 comments on commit ae06785

Please sign in to comment.