Commit b54b78c2 authored by vvb2060's avatar vvb2060 Committed by topjohnwu

Fix prevent dot in the first position

parent 317336f7
......@@ -49,7 +49,7 @@ object HideAPK {
var next: Char
var prev = 0.toChar()
for (i in 0 until len) {
next = if (prev == '.' || prev == 0.toChar() || i == len - 1) {
next = if (prev == '.' || i == 0 || i == len - 1) {
ALPHA[random.nextInt(ALPHA.length)]
} else {
ALPHADOTS[random.nextInt(ALPHADOTS.length)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment