Skip to content

Commit

Permalink
chore: format workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmDevs committed Oct 10, 2024
1 parent b13cfea commit d9fd3a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/better-calls/src/patches/rememberOutputDevice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const patch = (vstorage: PluginStorage, unpatches: UnpatchFunction[]) =>
unpatches.push(
api.patcher.after('type', VoicePanelHeaderSpeaker, args => {
if (args[0].isConnectedToVoiceChannel) {
setAudioOutputDevice(vstorage.rememberOutputDevice.device)
setAudioOutputDevice(vstorage.rememberOutputDevice.device)
return (
<IconButton
key="better-calls:silent-call-toggle"
Expand Down
6 changes: 5 additions & 1 deletion plugins/better-calls/src/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ export const getAudioDeviceDisplayText = (device: Pick<AudioDevice, 'deviceType'
return getAudioDeviceToDisplayText(device)
}

export const showAudioOutputDevicesSelectionSheet = (props: { vstorage: PluginStorage; onPress?: () => void, fromVoiceCall?: boolean }) => {
export const showAudioOutputDevicesSelectionSheet = (props: {
vstorage: PluginStorage
onPress?: () => void
fromVoiceCall?: boolean
}) => {
showActionSheet(
'better-calls:audio-output-devices-select',
Promise.resolve({
Expand Down

0 comments on commit d9fd3a6

Please sign in to comment.