mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +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>) {
|
||||
|
Reference in New Issue
Block a user