Make File path property optional

This commit is contained in:
MM20
2024-07-26 17:33:20 +02:00
parent 330b9f673a
commit cdf824ac2e
5 changed files with 13 additions and 11 deletions
@@ -76,7 +76,7 @@ data class File(
* A path to this file. This is shown to the user purely for informational purposes.
* It is not used to open the file.
*/
val path: String,
val path: String?,
/**
* Whether this file is a directory. If set, a folder icon will be shown instead of a file icon.
*/