mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Format code
This commit is contained in:
parent
7730b9aebc
commit
c433069f90
@ -102,8 +102,8 @@ function useMediaDevice(
|
||||
devId = available.some((d) => d.deviceId === selectedId)
|
||||
? selectedId
|
||||
: available.some((d) => d.deviceId === fallbackDevice)
|
||||
? fallbackDevice
|
||||
: available.at(0)?.deviceId;
|
||||
? fallbackDevice
|
||||
: available.at(0)?.deviceId;
|
||||
}
|
||||
|
||||
return {
|
||||
|
@ -248,6 +248,6 @@ export function useECConnectionState(
|
||||
return isSwitchingFocus
|
||||
? ECAddonConnectionState.ECSwitchingFocus
|
||||
: isInDoConnect
|
||||
? ConnectionState.Connecting
|
||||
: connState;
|
||||
? ConnectionState.Connecting
|
||||
: connState;
|
||||
}
|
||||
|
@ -395,8 +395,8 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
showControls
|
||||
? styles.footer
|
||||
: hideHeader
|
||||
? [styles.footer, styles.footerHidden]
|
||||
: [styles.footer, styles.footerThin],
|
||||
? [styles.footer, styles.footerHidden]
|
||||
: [styles.footer, styles.footerThin],
|
||||
)}
|
||||
>
|
||||
{!mobile && !hideHeader && (
|
||||
|
Loading…
Reference in New Issue
Block a user