mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Fix controls are removed when remote video is disabled.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user