refactor: ReVanced settings UI

This commit is contained in:
inotia00
2023-02-20 01:25:41 +09:00
parent b550ed4c21
commit 0568e7f088
2 changed files with 20 additions and 23 deletions

View File

@ -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)