Skip to content

Commit

Permalink
fix: Use UI convention of 'switch off' = 'stock app'
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios committed Oct 22, 2024
1 parent 2c5a05d commit 02134f7
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 @@ -64,7 +64,7 @@ object BackgroundPlaybackPatch : BytecodePatch(
AddResourcesPatch(this::class)

SettingsPatch.PreferenceScreen.SHORTS.addPreferences(
SwitchPreference("revanced_shorts_background_playback")
SwitchPreference("revanced_shorts_disable_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_shorts_background_playback_title">Allow Shorts background play</string>
<string name="revanced_shorts_background_playback_summary_on">Shorts background play is enabled</string>
<string name="revanced_shorts_background_playback_summary_off">Shorts background play is disabled</string>
<string name="revanced_shorts_disable_background_playback_title">Disable Shorts background play</string>
<string name="revanced_shorts_disable_background_playback_summary_on">Shorts background play is disabled</string>
<string name="revanced_shorts_disable_background_playback_summary_off">Shorts background play is enabled</string>
</patch>
<patch id="misc.debugging.DebuggingPatch">
<string name="revanced_debug_screen_title">Debugging</string>
Expand Down

0 comments on commit 02134f7

Please sign in to comment.