mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
Always show Share menu when possible
This commit is contained in:
parent
e0cff33fbd
commit
d5d06be87d
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user