You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Added indication of whether the manager is hidden
This commit is contained in:
@@ -4,6 +4,14 @@ import android.content.res.Resources
|
||||
|
||||
val specialChars = arrayOf('!', '@', '#', '$', '%', '&', '?')
|
||||
|
||||
fun String.replaceRandomWithSpecial(passes: Int): String {
|
||||
var string = this
|
||||
repeat(passes) {
|
||||
string = string.replaceRandomWithSpecial()
|
||||
}
|
||||
return string
|
||||
}
|
||||
|
||||
fun String.replaceRandomWithSpecial(): String {
|
||||
var random: Char
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user