mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-21 04:54:41 +01:00
Inline the groupTerminateSend flag.
This commit is contained in:
committed by
Alex Hart
parent
ca7762c3d0
commit
573013be5c
+1
-1
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user