fix(ScreenShare): properly check for entire audio ondisabled

This commit is contained in:
Curve 2024-05-31 01:06:06 +02:00
parent 5531122889
commit 19ed980b11
No known key found for this signature in database
GPG key ID: 460F6C466BD35813

View file

@ -515,7 +515,7 @@ function AudioSourcePickerLinux({
<Switch
hideBorder
onChange={setOnlyDefaultSpeakers}
disabled={audioSources?.[0] !== "Entire System"}
disabled={audioSources !== "Entire System"}
value={onlyDefaultSpeakers ?? true}
note={
<>