Fix controls are removed when remote video is disabled.

fork-5.53.8
Alex Hart 2020-05-15 13:05:00 -03:00
rodzic 1c814141a2
commit 76740adc3f
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -194,10 +194,10 @@ public class WebRtcCallView extends FrameLayout {
remoteRenderContainer.setVisibility(View.GONE);
}
if (shouldFadeControls && !wasRemoteVideoEnabled) {
if (isRemoteVideoEnabled && !wasRemoteVideoEnabled) {
fadeInControls();
} else if (!isRemoteVideoEnabled && wasRemoteVideoEnabled) {
fadeInControls();
} else if (!shouldFadeControls && wasRemoteVideoEnabled) {
fadeOutControls();
cancelFadeOut();
}
}