Skip to content

Commit

Permalink
refactor: Var position
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu-dgl committed Oct 18, 2024
1 parent 59cc475 commit 880f41a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kDriveCore/Data/Cache/DriveFileManager/DriveFileManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ public final class DriveFileManager {
return File(id: -2, name: "Trash")
}

public static var sharedWithMeRootFile: File {
return File(id: -10, name: "Shared with me", visibility: .isSharedSpace)
}

public static var mySharedRootFile: File {
return File(id: -4, name: "My shares")
}
Expand All @@ -72,6 +68,11 @@ public final class DriveFileManager {
return offlineRoot
}

public static var sharedWithMeRootFile: File {
// Default value is -3
return File(id: -10, name: "Shared with me", visibility: .isSharedSpace)
}

public let realmConfiguration: Realm.Configuration

// TODO: Fetch a drive with a computed property instead of tracking a Realm object
Expand Down

0 comments on commit 880f41a

Please sign in to comment.