fix(AudioSlider): removed when volume is 0
This commit is contained in:
parent
a215f9706a
commit
7dc45c28a2
|
@ -216,7 +216,7 @@ class RemoteVideoMenuTriggerButton extends Component<Props> {
|
||||||
participantID = { participantID } />
|
participantID = { participantID } />
|
||||||
);
|
);
|
||||||
|
|
||||||
if (onVolumeChange && initialVolumeValue && !isNaN(initialVolumeValue)) {
|
if (onVolumeChange && typeof initialVolumeValue === 'number' && !isNaN(initialVolumeValue)) {
|
||||||
buttons.push(
|
buttons.push(
|
||||||
<VolumeSlider
|
<VolumeSlider
|
||||||
initialValue = { initialVolumeValue }
|
initialValue = { initialVolumeValue }
|
||||||
|
|
Loading…
Reference in New Issue