Skip to content

Commit

Permalink
Fix root container item file name
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed May 16, 2024
1 parent 6c90048 commit 635ee0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/NextcloudFileProviderKit/Item/Item.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ public class Item: NSObject, NSFileProviderItem {
metadata.account = ncKit.nkCommonInstance.account
metadata.directory = true
metadata.ocId = NSFileProviderItemIdentifier.rootContainer.rawValue
metadata.fileName = "/"
metadata.fileNameView = "/"
metadata.serverUrl = ncKit.nkCommonInstance.urlBase
metadata.classFile = NKCommon.TypeClassFile.directory.rawValue
return Item(metadata: metadata, parentItemIdentifier: .rootContainer, ncKit: ncKit)
Expand Down

0 comments on commit 635ee0d

Please sign in to comment.