diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/patch/HideInfocardsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/patch/HideInfoCardsPatch.kt similarity index 94% rename from src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/patch/HideInfocardsPatch.kt rename to src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/patch/HideInfoCardsPatch.kt index f1e216c0..577a4da0 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/patch/HideInfocardsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/patch/HideInfoCardsPatch.kt @@ -25,10 +25,10 @@ import org.jf.dexlib2.builder.instruction.BuilderInstruction35c @Patch @DependsOn([IntegrationsPatch::class, HideInfocardsResourcePatch::class]) @Name("hide-info-cards") -@Description("Hides info-cards in videos.") +@Description("Hides info cards in videos.") @HideInfocardsCompatibility @Version("0.0.1") -class HideInfocardsPatch : BytecodePatch( +class HideInfoCardsPatch : BytecodePatch( listOf( InfocardsIncognitoParentFingerprint, InfocardsMethodCallFingerprint, @@ -47,7 +47,7 @@ class HideInfocardsPatch : BytecodePatch( addInstructions( invokeInstructionIndex, "invoke-static {v${(instruction(invokeInstructionIndex) as? BuilderInstruction35c)?.registerC}}," + - " Lapp/revanced/integrations/patches/HideInfocardsPatch;->hideInfocardsIncognito(Landroid/view/View;)V" + " Lapp/revanced/integrations/patches/HideInfoCardsPatch;->hideInfoCardsIncognito(Landroid/view/View;)V" ) } @@ -59,7 +59,7 @@ class HideInfocardsPatch : BytecodePatch( hideInfocardsCallMethod.addInstructions( invokeInterfaceIndex, """ - invoke-static {}, Lapp/revanced/integrations/patches/HideInfocardsPatch;->hideInfocardsMethodCall()Z + invoke-static {}, Lapp/revanced/integrations/patches/HideInfoCardsPatch;->hideInfoCardsMethodCall()Z move-result v$toggleRegister if-nez v$toggleRegister, :hide_info_cards """, diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/resource/patch/HideInfocardsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/resource/patch/HideInfocardsResourcePatch.kt index d4e758d2..47388939 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/resource/patch/HideInfocardsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/resource/patch/HideInfocardsResourcePatch.kt @@ -24,10 +24,10 @@ class HideInfocardsResourcePatch : ResourcePatch { SettingsPatch.PreferenceScreen.LAYOUT.addPreferences( SwitchPreference( "revanced_hide_infocards", - StringResource("revanced_hide_infocards_title", "Hide info-cards"), + StringResource("revanced_hide_infocards_title", "Hide info cards"), true, - StringResource("revanced_hide_infocards_summary_on", "Info-cards are hidden"), - StringResource("revanced_hide_infocards_summary_off", "Info-cards are shown") + StringResource("revanced_hide_infocards_summary_on", "Info cards are hidden"), + StringResource("revanced_hide_infocards_summary_off", "Info cards are shown") ) )