mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 09:20:23 +00: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