Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Fixed map files for win
Browse files Browse the repository at this point in the history
  • Loading branch information
SudoDios committed Oct 23, 2023
1 parent e5677e3 commit 321d8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/routing/dialogs/DropFilesDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ fun DropFilesDialog(
onDragState.invoke(Global.DragState.DROPPED)
if (dropData.dragData is DragData.FilesList) {
droppedList = (dropData.dragData as DragData.FilesList).readFiles()
.map { URLDecoder.decode(it.split(":")[1], "UTF-8") }
.map { URLDecoder.decode(it.replace("file:",""), "UTF-8") }
}
}
),
Expand Down

0 comments on commit 321d8b7

Please sign in to comment.