Skip to content

Commit 89f06fe

Browse files
chore: Fix typo
1 parent 240897a commit 89f06fe

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/ShortsFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public ShortsFilter() {
275275
"yt_outline_bell_"
276276
),
277277
new ByteArrayFilterGroup(
278-
Settings.HIDE_SHORTS_EFFECTS_BUTTON,
278+
Settings.HIDE_SHORTS_EFFECT_BUTTON,
279279
// https://www.gstatic.com/youtube/effects/xeno/arcade/effects/icons/
280280
"/arcade/effects/icons/"
281281
),

extensions/youtube/src/main/java/app/revanced/extension/youtube/settings/Settings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public class Settings extends BaseSettings {
267267
public static final BooleanSetting HIDE_SHORTS_COMMENTS_BUTTON = new BooleanSetting("revanced_hide_shorts_comments_button", FALSE);
268268
public static final BooleanSetting HIDE_SHORTS_DISLIKE_BUTTON = new BooleanSetting("revanced_hide_shorts_dislike_button", FALSE);
269269
public static final BooleanSetting HIDE_SHORTS_FULL_VIDEO_LINK_LABEL = new BooleanSetting("revanced_hide_shorts_full_video_link_label", FALSE);
270-
public static final BooleanSetting HIDE_SHORTS_EFFECTS_BUTTON = new BooleanSetting("revanced_hide_shorts_effects_button", TRUE);
270+
public static final BooleanSetting HIDE_SHORTS_EFFECT_BUTTON = new BooleanSetting("revanced_hide_shorts_effect_button", TRUE);
271271
public static final BooleanSetting HIDE_SHORTS_GREEN_SCREEN_BUTTON = new BooleanSetting("revanced_hide_shorts_green_screen_button", TRUE);
272272
public static final BooleanSetting HIDE_SHORTS_NEW_POSTS_BUTTON = new BooleanSetting("revanced_hide_shorts_new_posts_button", TRUE);
273273
public static final BooleanSetting HIDE_SHORTS_HASHTAG_BUTTON = new BooleanSetting("revanced_hide_shorts_hashtag_button", TRUE);

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsPatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private val hideShortsComponentsResourcePatch = resourcePatch {
9797
SwitchPreference("revanced_hide_shorts_use_sound_button"),
9898
SwitchPreference("revanced_hide_shorts_use_template_button"),
9999
SwitchPreference("revanced_hide_shorts_upcoming_button"),
100-
SwitchPreference("revanced_hide_shorts_effects_button"),
100+
SwitchPreference("revanced_hide_shorts_effect_button"),
101101
SwitchPreference("revanced_hide_shorts_green_screen_button"),
102102
SwitchPreference("revanced_hide_shorts_hashtag_button"),
103103
SwitchPreference("revanced_hide_shorts_new_posts_button"),

patches/src/main/resources/addresources/values/strings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,9 +835,9 @@ To show the Audio track menu, change \'Spoof video streams\' to iOS TV"</string>
835835
<string name="revanced_hide_shorts_upcoming_button_title">Hide Upcoming button</string>
836836
<string name="revanced_hide_shorts_upcoming_button_summary_on">Upcoming button is hidden</string>
837837
<string name="revanced_hide_shorts_upcoming_button_summary_off">Upcoming button is shown</string>
838-
<string name="revanced_hide_shorts_effects_button_title">Hide Effects button</string>
839-
<string name="revanced_hide_shorts_effects_button_summary_on">Effects button is hidden</string>
840-
<string name="revanced_hide_shorts_effects_button_summary_off">Effects button is shown</string>
838+
<string name="revanced_hide_shorts_effect_button_title">Hide Effect button</string>
839+
<string name="revanced_hide_shorts_effect_button_summary_on">Effect button is hidden</string>
840+
<string name="revanced_hide_shorts_effect_button_summary_off">Effect button is shown</string>
841841
<string name="revanced_hide_shorts_green_screen_button_title">Hide Green screen button</string>
842842
<string name="revanced_hide_shorts_green_screen_button_summary_on">Green screen button is hidden</string>
843843
<string name="revanced_hide_shorts_green_screen_button_summary_off">Green screen button is shown</string>

0 commit comments

Comments
 (0)