Always show Share menu when possible

This commit is contained in:
Dustin Brett 2025-04-08 21:55:15 -07:00
parent e0cff33fbd
commit d5d06be87d

View File

@ -123,9 +123,10 @@ const useFileContextMenu = (
(process) => process !== pid
);
const openWithFiltered = openWith.filter((id) => id !== pid);
const isSingleSelection = focusedEntries.length === 1;
const isSingleSelection =
focusedEntries.length === 1 || !isFocusedEntry;
const absoluteEntries = (): string[] =>
isSingleSelection || !isFocusedEntry
isSingleSelection
? [path]
: [
...new Set([