Skip to content

Commit

Permalink
fix: Update prefs
Browse files Browse the repository at this point in the history
  • Loading branch information
zainarbani authored and LisoUseInAIKyrios committed Sep 26, 2024
1 parent d21ae51 commit 2ac08f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ object BackgroundPlaybackPatch : BytecodePatch(
AddResourcesPatch(this::class)

SettingsPatch.PreferenceScreen.SHORTS.addPreferences(
SwitchPreference("revanced_disable_background_shorts")
SwitchPreference("revanced_shorts_background_playback")
)

arrayOf(
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/addresources/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ This is because Crowdin requires temporarily flattening this file and removing t
<string name="revanced_settings_screen_12_video_title">Video</string>
</patch>
<patch id="misc.backgroundplayback.BackgroundPlaybackPatch">
<string name="revanced_disable_background_shorts_title">Disable background playback for Shorts</string>
<string name="revanced_disable_background_shorts_summary_on">Background playback for Shorts are disabled</string>
<string name="revanced_disable_background_shorts_summary_off">Background playback for Shorts are enabled</string>
<string name="revanced_shorts_background_playback_title">Allow Shorts background playback</string>
<string name="revanced_shorts_background_playback_summary_on">Shorts background playback are enabled</string>
<string name="revanced_shorts_background_playback_summary_off">Shorts background playback are disabled</string>
</patch>
<patch id="misc.debugging.DebuggingPatch">
<string name="revanced_debug_screen_title">Debugging</string>
Expand Down

0 comments on commit 2ac08f7

Please sign in to comment.