Skip to content

Commit

Permalink
remote: Hide 'Show in Files App' when using remote
Browse files Browse the repository at this point in the history
  • Loading branch information
bummoblizard committed Jan 22, 2024
1 parent 12940a8 commit f6aa86d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CodeApp/Views/ExplorerFileTreeSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ struct ExplorerFileTree: View {
.absoluteString
)
}
if !(item._url?.isFileURL ?? false) {
ACTION_SHOW_IN_FILEAPP.attributes = .hidden
}
let ACTION_RENAME = UIAction(
title: NSLocalizedString("Rename", comment: ""), image: UIImage(systemName: "pencil")!
) { _ in
Expand Down

0 comments on commit f6aa86d

Please sign in to comment.