kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix controls are removed when remote video is disabled.
rodzic
1c814141a2
commit
76740adc3f
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue