Skip to content

Commit

Permalink
Fix the bug that speaker option flickering when camera on/off (#5119)
Browse files Browse the repository at this point in the history
  • Loading branch information
PorterNan authored Sep 9, 2024
1 parent 233d520 commit 3416ad1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const LocalDeviceSettings = (props: LocalDeviceSettingsType): JSX.Element
/>
);

const SafariBrowserSpeakerDropdownTrampoline = (): JSX.Element => {
const safariBrowserSpeakerDropdownTrampoline = (): JSX.Element => {
/* @conditional-compile-remove(unsupported-browser) */
if (isSafariWithNoSpeakers) {
return <></>;
Expand Down Expand Up @@ -282,7 +282,7 @@ export const LocalDeviceSettings = (props: LocalDeviceSettingsType): JSX.Element
/* @conditional-compile-remove(call-readiness) */
onClickEnableDevicePermission={props.onClickEnableDevicePermission}
/>
<SafariBrowserSpeakerDropdownTrampoline />
{safariBrowserSpeakerDropdownTrampoline()}
</Stack>
</Stack>
</Stack>
Expand Down

0 comments on commit 3416ad1

Please sign in to comment.