From 663ca2f73d88072f35dc33a6b85a3742a8f62e64 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 18 Apr 2019 00:16:42 +0200 Subject: Added icons defining the type of the file Co-authored-by: LarsVomMars --- src/main/kotlin/FileController.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/FileController.kt') diff --git a/src/main/kotlin/FileController.kt b/src/main/kotlin/FileController.kt index cb2b0f7..e8526cf 100644 --- a/src/main/kotlin/FileController.kt +++ b/src/main/kotlin/FileController.kt @@ -33,6 +33,7 @@ class FileController { humanReadableBytes(fileSize), SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(file.lastModified()).toString(), if (file.isDirectory) "true" else isHumanReadable(file).toString(), + file.isDirectory.toString(), fileSize.toString(), // unformatted file size file.lastModified().toString() // unformatted last modified date ) -- cgit v1.2.3