refactor: Make strings consistent (#5075)
This commit is contained in:

committed by
GitHub

parent
bbdee76906
commit
28a389a62f
@ -593,6 +593,7 @@ public final class app/revanced/patches/reddit/layout/disablescreenshotpopup/Dis
|
|||||||
|
|
||||||
public final class app/revanced/patches/reddit/layout/premiumicon/UnlockPremiumIconPatchKt {
|
public final class app/revanced/patches/reddit/layout/premiumicon/UnlockPremiumIconPatchKt {
|
||||||
public static final fun getUnlockPremiumIconPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getUnlockPremiumIconPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
|
public static final fun getUnlockPremiumIconsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/patches/reddit/misc/extension/ExtensionPatchKt {
|
public final class app/revanced/patches/reddit/misc/extension/ExtensionPatchKt {
|
||||||
|
@ -7,7 +7,7 @@ import app.revanced.patcher.patch.stringOption
|
|||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val spoofBuildInfoPatch = bytecodePatch(
|
val spoofBuildInfoPatch = bytecodePatch(
|
||||||
name = "Spoof build info",
|
name = "Spoof build info",
|
||||||
description = "Spoof the information about the current build.",
|
description = "Spoofs the information about the current build.",
|
||||||
use = false,
|
use = false,
|
||||||
) {
|
) {
|
||||||
val board by stringOption(
|
val board by stringOption(
|
||||||
@ -141,14 +141,14 @@ val spoofBuildInfoPatch = bytecodePatch(
|
|||||||
val socManufacturer by stringOption(
|
val socManufacturer by stringOption(
|
||||||
key = "soc-manufacturer",
|
key = "soc-manufacturer",
|
||||||
default = null,
|
default = null,
|
||||||
title = "SOC Manufacturer",
|
title = "SOC manufacturer",
|
||||||
description = "The manufacturer of the device's primary system-on-chip.",
|
description = "The manufacturer of the device's primary system-on-chip.",
|
||||||
)
|
)
|
||||||
|
|
||||||
val socModel by stringOption(
|
val socModel by stringOption(
|
||||||
key = "soc-model",
|
key = "soc-model",
|
||||||
default = null,
|
default = null,
|
||||||
title = "SOC Model",
|
title = "SOC model",
|
||||||
description = "The model name of the device's primary system-on-chip.",
|
description = "The model name of the device's primary system-on-chip.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -36,12 +36,12 @@ val spoofSimCountryPatch = bytecodePatch(
|
|||||||
|
|
||||||
val networkCountryIso by isoCountryPatchOption(
|
val networkCountryIso by isoCountryPatchOption(
|
||||||
"networkCountryIso",
|
"networkCountryIso",
|
||||||
"Network ISO Country Code",
|
"Network ISO country code",
|
||||||
)
|
)
|
||||||
|
|
||||||
val simCountryIso by isoCountryPatchOption(
|
val simCountryIso by isoCountryPatchOption(
|
||||||
"simCountryIso",
|
"simCountryIso",
|
||||||
"Sim ISO Country Code",
|
"SIM ISO country code",
|
||||||
)
|
)
|
||||||
|
|
||||||
dependsOn(
|
dependsOn(
|
||||||
|
@ -5,7 +5,7 @@ import app.revanced.patcher.patch.bytecodePatch
|
|||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val unlockPremiumPatch = bytecodePatch(
|
val unlockPremiumPatch = bytecodePatch(
|
||||||
name = "Unlock premium",
|
name = "Unlock Premium",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.adobe.lrmobile"("10.0.2"))
|
compatibleWith("com.adobe.lrmobile"("10.0.2"))
|
||||||
|
|
||||||
|
@ -4,9 +4,9 @@ import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
|||||||
import app.revanced.patcher.patch.bytecodePatch
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val unlockPremiumIconPatch = bytecodePatch(
|
val unlockPremiumIconsPatch = bytecodePatch(
|
||||||
name = "Unlock premium Reddit icons",
|
name = "Unlock Premium icons",
|
||||||
description = "Unlocks the premium Reddit icons.",
|
description = "Unlocks the Reddit Premium icons.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.reddit.frontpage")
|
compatibleWith("com.reddit.frontpage")
|
||||||
|
|
||||||
@ -20,3 +20,9 @@ val unlockPremiumIconPatch = bytecodePatch(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated("Patch was renamed", ReplaceWith("unlockPremiumIconsPatch"))
|
||||||
|
@Suppress("unused")
|
||||||
|
val unlockPremiumIconPatch = bytecodePatch{
|
||||||
|
dependsOn(unlockPremiumIconsPatch)
|
||||||
|
}
|
@ -8,7 +8,7 @@ import java.util.logging.Logger
|
|||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val disableLicenseCheckPatch = bytecodePatch(
|
val disableLicenseCheckPatch = bytecodePatch(
|
||||||
name = "Disable Pairip license check",
|
name = "Disable Pairip license check",
|
||||||
description = "Disable Play Integrity Protect (Pairip) client-side license check.",
|
description = "Disables Play Integrity API (Pairip) client-side license check.",
|
||||||
use = false
|
use = false
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ private const val EXTENSION_CLASS_DESCRIPTOR = "Lapp/revanced/extension/spotify/
|
|||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val unlockPremiumPatch = bytecodePatch(
|
val unlockPremiumPatch = bytecodePatch(
|
||||||
name = "Unlock Spotify Premium",
|
name = "Unlock Premium",
|
||||||
description = "Unlocks Spotify Premium features. Server-sided features like downloading songs are still locked.",
|
description = "Unlocks Spotify Premium features. Server-sided features like downloading songs are still locked.",
|
||||||
) {
|
) {
|
||||||
compatibleWith("com.spotify.music")
|
compatibleWith("com.spotify.music")
|
||||||
|
Reference in New Issue
Block a user