Don't show the group management section if it's empty
This commit is contained in:
parent
8170a77485
commit
57dcff6b60
@ -707,9 +707,11 @@ const CGFloat kIconViewLength = 24;
|
||||
]];
|
||||
}
|
||||
|
||||
[contents addSection:[OWSTableSection sectionWithTitle:NSLocalizedString(@"GROUP_MANAGEMENT_SECTION",
|
||||
@"Conversation settings table section title")
|
||||
items:groupItems]];
|
||||
if (groupItems.count > 0) {
|
||||
[contents addSection:[OWSTableSection sectionWithTitle:NSLocalizedString(@"GROUP_MANAGEMENT_SECTION",
|
||||
@"Conversation settings table section title")
|
||||
items:groupItems]];
|
||||
}
|
||||
}
|
||||
|
||||
// Mute thread section.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user