From 88d6abf06bb22f1b6c8fead96ef0141a30d643cf Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Wed, 23 Nov 2016 12:23:39 +0100 Subject: [PATCH] display error popup when bad address in createChatConversation --- Classes/ChatConversationCreateTableView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/ChatConversationCreateTableView.m b/Classes/ChatConversationCreateTableView.m index 3f307122f..40204dad0 100644 --- a/Classes/ChatConversationCreateTableView.m +++ b/Classes/ChatConversationCreateTableView.m @@ -91,9 +91,9 @@ UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {}]; - + defaultAction.accessibilityLabel = @"OK"; [errView addAction:defaultAction]; - [self presentViewController:errView animated:YES completion:nil]; + [PhoneMainView.instance presentViewController:errView animated:YES completion:nil]; } else { ChatConversationView *view = VIEW(ChatConversationView); [view setChatRoom:room];