Make GV2 feature flags remote capable.

This commit is contained in:
Alan Evans 2020-05-26 16:17:41 -03:00 committed by Greyson Parrelli
parent 56551025e9
commit 8947b82034
2 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public class CreateGroupActivity extends ContactSelectionActivity {
private View next;
public static Intent newIntent(@NonNull Context context) {
if (!FeatureFlags.newGroupUI()) {
if (!FeatureFlags.newGroupUI() || !FeatureFlags.groupsV2create()) {
return new Intent(context, GroupCreateActivity.class);
}

View File

@ -84,7 +84,10 @@ public final class FeatureFlags {
CALLING_PIP,
NEW_GROUP_UI,
REACT_WITH_ANY_EMOJI,
VERSIONED_PROFILES
VERSIONED_PROFILES,
GROUPS_V2,
GROUPS_V2_CREATE,
NEW_GROUP_UI
);
/**