This commit is contained in:
Half-Shot
2025-09-15 11:56:27 +01:00
parent 04297e85c6
commit db96fb5a09

View File

@@ -358,7 +358,7 @@ export const InCallView: FC<InCallViewProps> = ({
// We need to set the proper timings on the animation based upon the sound length.
const ringDuration = pickupPhaseAudio?.soundDuration["waiting"] ?? 1;
useEffect(() => {
useEffect((): (() => void) => {
// The CSS animation includes the delay, so we must double the length of the sound.
window.document.body.style.setProperty(
"--call-ring-duration-s",