feat(YouTube/Spoof app version): add target version 18.42.41 - Fixes issue where theme is not applied in search results

This commit is contained in:
inotia00 2024-01-25 07:00:14 +09:00
parent cdd8d05fa9
commit fcac5aecd1
3 changed files with 12 additions and 0 deletions

View File

@ -77,6 +77,15 @@ object SpoofAppVersionPatch : AbstractVersionSpoofPatch(
"revanced_spoof_app_version_target_entry_value" to "18.40.34" "revanced_spoof_app_version_target_entry_value" to "18.40.34"
) )
) )
if (SettingsPatch.upward1843) {
contexts.appendChild(
arrayOf(
"revanced_spoof_app_version_target_entry" to "@string/revanced_spoof_app_version_target_entry_18_42_41",
"revanced_spoof_app_version_target_entry_value" to "18.42.41"
)
)
}
} }
} }
} }

View File

@ -91,6 +91,7 @@ object SettingsPatch : AbstractSettingsResourcePatch(
upward1834 = 233502000 <= playServicesVersion upward1834 = 233502000 <= playServicesVersion
upward1839 = 234002000 <= playServicesVersion upward1839 = 234002000 <= playServicesVersion
upward1841 = 234200000 <= playServicesVersion upward1841 = 234200000 <= playServicesVersion
upward1843 = 234400000 <= playServicesVersion
break break
} }
@ -160,6 +161,7 @@ object SettingsPatch : AbstractSettingsResourcePatch(
internal var upward1834: Boolean = false internal var upward1834: Boolean = false
internal var upward1839: Boolean = false internal var upward1839: Boolean = false
internal var upward1841: Boolean = false internal var upward1841: Boolean = false
internal var upward1843: Boolean = false
internal fun addPreference(settingArray: Array<String>) { internal fun addPreference(settingArray: Array<String>) {
contexts.addPreference(settingArray) contexts.addPreference(settingArray)

View File

@ -807,6 +807,7 @@ This does not bypass the age restriction. It just accepts it automatically."</st
<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_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_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_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_18_42_41">18.42.41 - Fixes issue where theme is not applied in search results</string>
<string name="revanced_spoof_app_version_target_entry_title">Spoof app version target</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> <string name="revanced_spoof_app_version_target_summary">Type the spoof app version target.</string>
<string name="revanced_spoof_app_version_target_title">Edit spoof app version</string> <string name="revanced_spoof_app_version_target_title">Edit spoof app version</string>