Skip to content

Commit

Permalink
fix(YouTube Music/Custom branding icon): patch fails on certain versions
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Oct 21, 2024
1 parent 999f914 commit 115ff0d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down

0 comments on commit 115ff0d

Please sign in to comment.