fix(YouTube - Hide "Load more" button): Use correct names
This commit is contained in:
parent
4ca3b5b310
commit
569c3cde98
|
@ -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 = [
|
||||||
|
|
|
@ -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")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue