fix(YouTube Music/Custom branding icon): patch fails on certain versions

This commit is contained in:
inotia00 2024-10-21 20:27:31 +09:00
parent 999f914d9d
commit 115ff0d76d

View File

@ -236,6 +236,9 @@ object CustomBrandingIconPatch : BaseResourcePatch(
if (!SettingsPatch.upward0723) {
return
}
if (appIcon == "youtube_music") {
return
}
fun getAdaptiveIconResourceFile(tag: String): String {
context.xmlEditor["res/mipmap-anydpi/ic_launcher_release.xml"].use { editor ->