mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
refactor: ReVanced settings UI
This commit is contained in:
@ -127,7 +127,6 @@ internal object ResourceHelper {
|
||||
if (attribute.textContent == "@string/about_key" && it.getAttributeNode("app:iconSpaceReserved").textContent == "false") {
|
||||
it.insertNode("Preference", it) {
|
||||
setAttribute("android:title", "@string/revanced_" + key + "_title")
|
||||
setAttribute("android:summary", "@string/revanced_" + key + "_summary")
|
||||
this.appendChild(ownerDocument.createElement("intent").also { intentNode ->
|
||||
intentNode.setAttribute("android:targetPackage", targetPackage)
|
||||
intentNode.setAttribute("android:data", key)
|
||||
|
Reference in New Issue
Block a user