Unused depreciated function
parent
25a24353f7
commit
435b6a29f2
|
@ -172,7 +172,7 @@ fun selectFile(allowedExtensions: Set<String>, onFileSelected: (String) -> Unit)
|
|||
val filePath = "$selectedDirectory$selectedFile"
|
||||
|
||||
// Vérifier si l'extension est autorisée
|
||||
val fileExtension = File(filePath).extension.toLowerCase()
|
||||
val fileExtension = File(filePath).extension.lowercase()
|
||||
if (allowedExtensions.contains(fileExtension)) {
|
||||
println("Opening: $filePath")
|
||||
onFileSelected(filePath)
|
||||
|
|
Loading…
Reference in New Issue