diff --git a/Signal/src/ViewControllers/NewGroupView/NewGroupConfirmViewController.swift b/Signal/src/ViewControllers/NewGroupView/NewGroupConfirmViewController.swift index 2114de8bf1..da9c3c1c1e 100644 --- a/Signal/src/ViewControllers/NewGroupView/NewGroupConfirmViewController.swift +++ b/Signal/src/ViewControllers/NewGroupView/NewGroupConfirmViewController.swift @@ -102,7 +102,8 @@ public class NewGroupConfirmViewController: OWSViewController { var lastSection: UIView = firstSection let membersDoNotSupportGroupsV2 = self.membersDoNotSupportGroupsV2 - if membersDoNotSupportGroupsV2.count > 0 { + if RemoteConfig.groupsV2CreateGroups, + membersDoNotSupportGroupsV2.count > 0 { let legacyGroupSection = UIView() legacyGroupSection.backgroundColor = Theme.secondaryBackgroundColor legacyGroupSection.preservesSuperviewLayoutMargins = true