fix(YouTube - Hide "Load more" button): Use correct names

This commit is contained in:
oSumAtrIX 2023-10-02 00:01:04 +02:00
parent 4ca3b5b310
commit 569c3cde98
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ import app.revanced.patches.youtube.layout.hide.loadmorebutton.fingerprints.Hide
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
@Patch( @Patch(
name = "Hide load more button", name = "Hide \"Load more\" button",
description = "Hides the button under videos that loads similar videos.", description = "Hides the button under videos that loads similar videos.",
dependencies = [HideLoadMoreButtonResourcePatch::class], dependencies = [HideLoadMoreButtonResourcePatch::class],
compatiblePackages = [ compatiblePackages = [

View file

@ -21,9 +21,9 @@ object HideLoadMoreButtonResourcePatch : ResourcePatch() {
SettingsPatch.PreferenceScreen.LAYOUT.addPreferences( SettingsPatch.PreferenceScreen.LAYOUT.addPreferences(
SwitchPreference( SwitchPreference(
"revanced_hide_load_more_button", "revanced_hide_load_more_button",
StringResource("revanced_hide_load_more_button_title", "Hide Load More button"), StringResource("revanced_hide_load_more_button_title", "Hide \"Load More\" button"),
StringResource("revanced_hide_load_more_button_summary_on", "Load More button is hidden"), StringResource("revanced_hide_load_more_button_summary_on", "Button is hidden"),
StringResource("revanced_hide_load_more_button_summary_off", "Load More button is shown") StringResource("revanced_hide_load_more_button_summary_off", "Button is shown")
) )
) )