Removed unnecessary variable "chars"

This commit is contained in:
Alex Gailis 2024-11-06 10:54:06 +11:00
parent 23c3508ed1
commit 7f4df9db9d

View file

@ -534,7 +534,6 @@ class UploadWorker(
private fun findUniqueFileName(fileName: String): String {
var sequenceFileName: String? = fileName
val chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
val random = Random()
// Loops until sequenceFileName does not match any existing file names