Added indication of whether the manager is hidden

This commit is contained in:
Viktor De Pasquale
2019-10-06 12:06:31 +02:00
parent 5e01f785ae
commit 8024089bde
2 changed files with 19 additions and 0 deletions
@@ -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 {