fix: contributors screen repository name

This commit is contained in:
Ax333l 2024-12-22 22:32:15 +01:00
parent 49f75f9edd
commit 8a20d8cf9b
No known key found for this signature in database
GPG Key ID: D2B4D85271127D23

View File

@ -202,7 +202,7 @@ fun ContributorsCard(
} }
fun processHeadlineText(repositoryName: String): String { fun processHeadlineText(repositoryName: String): String {
return "ReVanced " + repositoryName.replace("revanced/revanced-", "") return repositoryName.replace("revanced/revanced-", "")
.replace("-", " ") .replace("-", " ")
.split(" ").joinToString(" ") { if (it.length > 3) it else it.uppercase() } .split(" ").joinToString(" ") { if (it.length > 3) it else it.uppercase() }
.replaceFirstChar { it.uppercase() } .replaceFirstChar { it.uppercase() }