Skip to content

Commit

Permalink
fix(AddToMykDrive): Big button selects the correct drive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Dec 18, 2024
1 parent cdc49fa commit b2f40c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kDrive/UI/Controller/Menu/Share/PublicShareViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ final class PublicShareViewModel: InMemoryFileListViewModel {
let selectedItemsIds = multipleSelectionViewModel?.selectedItems.map(\.id) ?? [] + [rootProxy.id]
let exceptItemIds = multipleSelectionViewModel?.exceptItemIds.map { $0 } ?? []

let saveViewController = SaveFileViewController.instantiate(driveFileManager: driveFileManager)
let saveViewController = SaveFileViewController.instantiate(driveFileManager: currentUserDriveFileManager)
let saveNavigationViewController = SaveFileViewController
.setInNavigationController(saveViewController: saveViewController)

Expand Down

0 comments on commit b2f40c3

Please sign in to comment.