mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 10:48:34 +00:00
Fix controls are removed when remote video is disabled.
This commit is contained in:
parent
1c814141a2
commit
76740adc3f
@ -194,10 +194,10 @@ public class WebRtcCallView extends FrameLayout {
|
|||||||
remoteRenderContainer.setVisibility(View.GONE);
|
remoteRenderContainer.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shouldFadeControls && !wasRemoteVideoEnabled) {
|
if (isRemoteVideoEnabled && !wasRemoteVideoEnabled) {
|
||||||
|
fadeInControls();
|
||||||
|
} else if (!isRemoteVideoEnabled && wasRemoteVideoEnabled) {
|
||||||
fadeInControls();
|
fadeInControls();
|
||||||
} else if (!shouldFadeControls && wasRemoteVideoEnabled) {
|
|
||||||
fadeOutControls();
|
|
||||||
cancelFadeOut();
|
cancelFadeOut();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user