mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix: some patch descriptions and settings are not properly labeled
This commit is contained in:
@ -30,7 +30,7 @@ import app.revanced.util.microg.MicroGBytecodeHelper
|
||||
]
|
||||
)
|
||||
@Name("MicroG support")
|
||||
@Description("Allows ReVanced Music to run without root and under a different package name with MicroG.")
|
||||
@Description("Allows ReVanced Extended Music to run without root and under a different package name with MicroG.")
|
||||
@MusicCompatibility
|
||||
class MicroGPatch : BytecodePatch(
|
||||
listOf(
|
||||
|
@ -14,7 +14,7 @@ import kotlin.io.path.exists
|
||||
|
||||
@Patch
|
||||
@Name("Reddit settings")
|
||||
@Description("Adds ReVanced settings to Reddit.")
|
||||
@Description("Adds ReVanced Extended Settings to Reddit.")
|
||||
@DependsOn(
|
||||
[
|
||||
IntegrationsPatch::class,
|
||||
|
@ -24,7 +24,7 @@ abstract class AbstractSettingsResourcePatch(
|
||||
context.copyXmlNode(sourceHostDirectory, "values/strings.xml", "resources")
|
||||
|
||||
/**
|
||||
* Initialize ReVanced Settings
|
||||
* Initialize ReVanced Extended Settings
|
||||
*/
|
||||
if (isYouTube)
|
||||
context.copyResources(
|
||||
|
@ -21,7 +21,7 @@ import app.revanced.util.resources.ResourceHelper.setMicroG
|
||||
|
||||
@Patch
|
||||
@Name("MicroG support")
|
||||
@Description("Allows ReVanced to run without root and under a different package name with MicroG.")
|
||||
@Description("Allows ReVanced Extended to run without root and under a different package name with MicroG.")
|
||||
@DependsOn(
|
||||
[
|
||||
PackageNamePatch::class,
|
||||
|
@ -171,7 +171,7 @@ class ReturnYouTubeDislikePatch : BytecodePatch(
|
||||
VideoIdPatch.injectCall("$INTEGRATIONS_RYD_CLASS_DESCRIPTOR->newVideoLoaded(Ljava/lang/String;)V")
|
||||
|
||||
/**
|
||||
* Add ReVanced Settings
|
||||
* Add ReVanced Extended Settings
|
||||
*/
|
||||
SettingsPatch.addReVancedPreference("ryd_settings")
|
||||
|
||||
|
@ -26,7 +26,7 @@ import java.util.concurrent.TimeUnit
|
||||
|
||||
@Patch
|
||||
@Name("Settings")
|
||||
@Description("Applies mandatory patches to implement ReVanced settings into the application.")
|
||||
@Description("Applies mandatory patches to implement ReVanced Extended Settings into the application.")
|
||||
@DependsOn(
|
||||
[
|
||||
IntegrationsPatch::class,
|
||||
@ -103,12 +103,12 @@ class SettingsPatch : AbstractSettingsResourcePatch(
|
||||
}
|
||||
|
||||
/**
|
||||
* initialize ReVanced Settings
|
||||
* initialize ReVanced Extended Settings
|
||||
*/
|
||||
addReVancedPreference("extended_settings")
|
||||
|
||||
/**
|
||||
* remove revanced settings divider
|
||||
* remove ReVanced Extended Settings divider
|
||||
*/
|
||||
arrayOf("Theme.YouTube.Settings", "Theme.YouTube.Settings.Dark").forEach { themeName ->
|
||||
context.xmlEditor["res/values/styles.xml"].use { editor ->
|
||||
|
@ -95,7 +95,7 @@ class SponsorBlockPatch : ResourcePatch {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add ReVanced Settings
|
||||
* Add ReVanced Extended Settings
|
||||
*/
|
||||
SettingsPatch.addReVancedPreference("sponsorblock_settings")
|
||||
|
||||
|
Reference in New Issue
Block a user