Inline the groupTerminateSend flag.

This commit is contained in:
Greyson Parrelli
2026-07-08 14:25:16 -04:00
committed by Alex Hart
parent ca7762c3d0
commit 573013be5c
2 changed files with 1 additions and 12 deletions
@@ -1138,7 +1138,7 @@ class ConversationSettingsFragment :
}
state.withGroupSettingsState { groupState ->
if (groupState.canEndGroup && RemoteConfig.groupTerminateSend) {
if (groupState.canEndGroup) {
dividerPref()
clickPref(
@@ -1318,17 +1318,6 @@ object RemoteConfig {
hotSwappable = true
)
/**
* Whether or not to allow admins to terminate groups.
*/
@JvmStatic
@get:JvmName("groupTerminateSend")
val groupTerminateSend: Boolean by remoteBoolean(
key = "android.groupTerminateSend",
defaultValue = false,
hotSwappable = true
)
/**
* Whether to collapse update events
*/