From c837840e04d9b2892024ae0b0bb2c9bf3fa2625a Mon Sep 17 00:00:00 2001 From: Nicholas Tinsley Date: Fri, 22 Dec 2023 12:32:33 -0500 Subject: [PATCH] Properly hide toolbar gradient in calling view. --- .../java/org/thoughtcrime/securesms/WebRtcCallActivity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java b/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java index 0916ecd6e5..907d04f551 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java +++ b/app/src/main/java/org/thoughtcrime/securesms/WebRtcCallActivity.java @@ -199,7 +199,10 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan controlsAndInfo = new ControlsAndInfoController(this, callScreen, callOverflowPopupWindow, viewModel, controlsAndInfoViewModel); controlsAndInfo.addVisibilityListener(new FadeCallback()); - fullscreenHelper.showAndHideWithSystemUI(getWindow(), findViewById(R.id.webrtc_call_view_toolbar_text), findViewById(R.id.webrtc_call_view_toolbar_no_text)); + fullscreenHelper.showAndHideWithSystemUI(getWindow(), + findViewById(R.id.call_screen_header_gradient), + findViewById(R.id.webrtc_call_view_toolbar_text), + findViewById(R.id.webrtc_call_view_toolbar_no_text)); lifecycleDisposable.add(controlsAndInfo);