Skip to content

Commit cc7f79d

Browse files
author
LisoUseInAIKyrios
authored
fix(YouTube - Spoof device dimensions): Warn about potential performance issues (#3039)
1 parent 57274b5 commit cc7f79d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main/kotlin/app/revanced/patches/youtube/misc/dimensions/spoof/SpoofDeviceDimensionsPatch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import app.revanced.util.exception
1414

1515
@Patch(
1616
name = "Spoof device dimensions",
17-
description = "Adds an option to spoof the device dimensions which unlocks higher video qualities if they aren't available on the device.",
17+
description = "Adds an option to spoof the device dimensions which can unlock higher video qualities.",
1818
dependencies = [IntegrationsPatch::class, SettingsPatch::class, AddResourcesPatch::class],
1919
compatiblePackages = [
2020
CompatiblePackage(

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,9 @@
10041004
</patch>
10051005
<patch id="misc.dimensions.spoof.SpoofDeviceDimensionsPatch">
10061006
<string name="revanced_spoof_device_dimensions_title">Spoof device dimensions</string>
1007-
<string name="revanced_spoof_device_dimensions_summary_on">Device dimensions spoofed</string>
1008-
<string name="revanced_spoof_device_dimensions_summary_off">Device dimensions not spoofed\n\nSpoofing the device dimensions can unlock higher video qualities but unknown side effects may occur</string>
1007+
<string name="revanced_spoof_device_dimensions_summary_on">Device dimensions spoofed\n\nHigher video qualities might be unlocked but you may experience video playback stuttering, worse battery life, and unknown side effects</string>
1008+
<string name="revanced_spoof_device_dimensions_summary_off">Device dimensions not spoofed\n\nEnabling this can unlock higher video qualities</string>
1009+
<string name="revanced_spoof_device_dimensions_user_dialog_message">Enabling this can cause video playback stuttering, worse battery life, and unknown side effects.</string>
10091010
</patch>
10101011
<patch id="misc.gms.GmsCoreSupportResourcePatch">
10111012
<string name="microg_settings_title">GmsCore Settings</string>

0 commit comments

Comments
 (0)