From 595cced5b7f91877446a7c2e69591d404bdc2079 Mon Sep 17 00:00:00 2001 From: Nicholas Tinsley Date: Fri, 19 Jan 2024 13:55:45 -0500 Subject: [PATCH] Display overflow button with reactions OR raise hand. --- .../securesms/components/webrtc/WebRtcControls.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcControls.java b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcControls.java index 724536de66..518b66b520 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcControls.java +++ b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcControls.java @@ -101,7 +101,9 @@ public final class WebRtcControls { isCallLink); } - /** This is only true at the very start of a call and will then never be true again */ + /** + * This is only true at the very start of a call and will then never be true again + */ public boolean hideControlsSheetInitially() { return displayIncomingCallButtons() || callState == CallState.NONE; } @@ -157,7 +159,7 @@ public final class WebRtcControls { } public boolean displayOverflow() { - return FeatureFlags.groupCallReactions() && isAtLeastOutgoing() && hasAtLeastOneRemote && isGroupCall(); + return (FeatureFlags.groupCallReactions() || FeatureFlags.groupCallRaiseHand()) && isAtLeastOutgoing() && hasAtLeastOneRemote && isGroupCall(); } public boolean displayMuteAudio() {