diff --git a/src/renderer/components/ScreenSharePicker.tsx b/src/renderer/components/ScreenSharePicker.tsx index f8ef1cc..f52db55 100644 --- a/src/renderer/components/ScreenSharePicker.tsx +++ b/src/renderer/components/ScreenSharePicker.tsx @@ -567,21 +567,31 @@ function AudioSourcePickerLinux({ {hasPipewirePulse || ignorePulseWarning ? ( allSources && ( - mapToAudioItem(target, granularSelect)) + .flat() + .filter(uniqueName) + .map(({ name, value }) => ({ + label: name, + value: value, + default: name === "None" + }))} + isSelected={isSelected} + select={update} + serialize={String} + popoutPosition="top" + /> + + + ) ) : ( @@ -594,20 +604,10 @@ function AudioSourcePickerLinux({ {" "} on how to switch to pipewire.
You can still continue, however, please{" "} - beware that you can only share audio of apps that are running under pipewire. -
-
- setIgnorePulseWarning(true)}>I know what I'm doing + beware that you can only share audio of apps that are running under pipewire.{" "} + setIgnorePulseWarning(true)}>I know what I'm doing!
)} - - ); }