Skip to content

Commit

Permalink
getSize is null for folders, which should be included in result
Browse files Browse the repository at this point in the history
  • Loading branch information
mtotschnig committed Dec 25, 2024
1 parent 51e1e55 commit e5358af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class GoogleDriveBackendProvider internal constructor(
override fun childrenForCollection(folder: File?) =
driveServiceHelper.listChildren(folder ?: accountFolder).filter {
@Suppress("UsePropertyAccessSyntax")
it.getSize() > 0
it.getSize()?.compareTo(0) != 0
}

override fun nameForResource(resource: File): String? = resource.name
Expand Down

0 comments on commit e5358af

Please sign in to comment.