mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 05:37:40 +02:00
feat(YouTube/Spoof app version): add target version 18.38.45 - Restore old default video quality behavior
This commit is contained in:
@ -62,13 +62,22 @@ object SpoofAppVersionPatch : AbstractVersionSpoofPatch(
|
||||
)
|
||||
)
|
||||
|
||||
if (SettingsPatch.upward1841) {
|
||||
if (SettingsPatch.upward1839) {
|
||||
contexts.appendChild(
|
||||
arrayOf(
|
||||
"revanced_spoof_app_version_target_entry" to "@string/revanced_spoof_app_version_target_entry_18_40_34",
|
||||
"revanced_spoof_app_version_target_entry_value" to "18.40.34"
|
||||
"revanced_spoof_app_version_target_entry" to "@string/revanced_spoof_app_version_target_entry_18_38_45",
|
||||
"revanced_spoof_app_version_target_entry_value" to "18.38.45"
|
||||
)
|
||||
)
|
||||
|
||||
if (SettingsPatch.upward1841) {
|
||||
contexts.appendChild(
|
||||
arrayOf(
|
||||
"revanced_spoof_app_version_target_entry" to "@string/revanced_spoof_app_version_target_entry_18_40_34",
|
||||
"revanced_spoof_app_version_target_entry_value" to "18.40.34"
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,6 +99,7 @@ object SettingsPatch : AbstractSettingsResourcePatch(
|
||||
is1836 = playServicesVersion in 233700000..233801999
|
||||
upward1828 = 232900000 <= playServicesVersion
|
||||
upward1834 = 233502000 <= playServicesVersion
|
||||
upward1839 = 234002000 <= playServicesVersion
|
||||
upward1841 = 234200000 <= playServicesVersion
|
||||
|
||||
break
|
||||
@ -199,6 +200,7 @@ object SettingsPatch : AbstractSettingsResourcePatch(
|
||||
internal var is1836: Boolean = false
|
||||
internal var upward1828: Boolean = false
|
||||
internal var upward1834: Boolean = false
|
||||
internal var upward1839: Boolean = false
|
||||
internal var upward1841: Boolean = false
|
||||
|
||||
internal fun addPreference(settingArray: Array<String>) {
|
||||
|
@ -711,6 +711,7 @@ Tap and hold to set playback speed to 1.0x."</string>
|
||||
<string name="revanced_spoof_app_version_target_entry_18_05_40">18.05.40 - Restore old comment input box</string>
|
||||
<string name="revanced_spoof_app_version_target_entry_18_17_43">18.17.43 - Restore old player flyout panel</string>
|
||||
<string name="revanced_spoof_app_version_target_entry_18_33_40">18.33.40 - Restore old shorts action bar</string>
|
||||
<string name="revanced_spoof_app_version_target_entry_18_38_45">18.38.45 - Restore old default video quality behavior</string>
|
||||
<string name="revanced_spoof_app_version_target_entry_18_40_34">"18.40.34 - Disables 'views' and 'likes' from being updated in real time"</string>
|
||||
<string name="revanced_spoof_app_version_target_entry_title">Spoof app version target</string>
|
||||
<string name="revanced_spoof_app_version_target_summary">Type the spoof app version target.</string>
|
||||
|
Reference in New Issue
Block a user