mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 05:07:41 +02:00
fix: materialyou
patch is broken
This commit is contained in:
@ -58,13 +58,7 @@ class MaterialYouPatch : ResourcePatch {
|
||||
}
|
||||
}
|
||||
|
||||
val sourcePath = this.javaClass.classLoader.getResourceAsStream("youtube/materialyou/host/values-v31/colors.xml")!!
|
||||
val relativePath = context.xmlEditor["res/values-v31/colors.xml"]
|
||||
|
||||
"resources".copyXmlNode(
|
||||
context.xmlEditor[sourcePath],
|
||||
relativePath
|
||||
)
|
||||
context.copyXmlNode("youtube/materialyou/host", "values-v31/colors.xml", "resources")
|
||||
|
||||
/*
|
||||
* Add settings
|
||||
|
Reference in New Issue
Block a user