Skip to content

Commit

Permalink
chore: PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Jan 14, 2025
1 parent d32391f commit f2822e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ class SaveFileViewController: UIViewController {
return myFilesDirectory.freezeIfNeeded()
}

// If we are in a shared with me, we only have access to some folders that are shared with the user
guard selectedDriveFileManager.drive.sharedWithMe else { return nil }

let firstAvailableSharedDriveDirectory = selectedDriveFileManager.database.fetchResults(ofType: File.self) { lazyFiles in
Expand Down
1 change: 0 additions & 1 deletion kDriveCore/Data/Api/Endpoint+Share.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ public extension Endpoint {
return Self.shareUrlV1.appending(path: "/share/\(driveId)/\(linkUuid)/preview/text/\(fileId)")
}

/// Add Public Share to my Drive
static func importShareLinkFiles(destinationDrive: AbstractDrive) -> Endpoint {
return Endpoint.driveInfoV2(drive: destinationDrive).appending(path: "/imports/sharelink")
}
Expand Down
2 changes: 0 additions & 2 deletions kDriveCore/Utils/AppNavigable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ public protocol RouterAppNavigable {
files: [ImportedFile]
)

/// Present login webView on top of the topMostViewController
@MainActor func showLogin(delegate: InfomaniakLoginDelegate)

/// Present register webView on top of the topMostViewController
@MainActor func showRegister(delegate: InfomaniakLoginDelegate)
}

Expand Down

0 comments on commit f2822e3

Please sign in to comment.