Add new conversation button
This commit is contained in:
parent
1431efba23
commit
5bbf7d85b2
|
@ -393,6 +393,18 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
BOOL hasSearchText = self.searchText.length > 0;
|
||||
|
||||
if (hasSearchText) {
|
||||
|
||||
// Loki:
|
||||
// ========
|
||||
OWSTableSection *newConversationSection = [OWSTableSection new];
|
||||
[newConversationSection
|
||||
addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"Start a Conversation", @"")
|
||||
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"start_conversation")
|
||||
customRowHeight:UITableViewAutomaticDimension
|
||||
actionBlock:^{ NSLog(@"Start a Conversation"); }]];
|
||||
[contents addSection:newConversationSection];
|
||||
// ========
|
||||
|
||||
for (OWSTableSection *section in [self contactsSectionsForSearch]) {
|
||||
[contents addSection:section];
|
||||
}
|
||||
|
|
|
@ -2565,3 +2565,4 @@
|
|||
"There appears to be an invalid word in your mnemonic. Please check what you entered and try again." = "There appears to be an invalid word in your mnemonic. Please check what you entered and try again.";
|
||||
"Your mnemonic couldn't be verified. Please check what you entered and try again." = "Your mnemonic couldn't be verified. Please check what you entered and try again.";
|
||||
"Search by name or public key" = "Search by name or public key";
|
||||
"Start a Conversation" = "Start a Conversation";
|
||||
|
|
Loading…
Reference in New Issue