diff --git a/Classes/ChatsListView.m b/Classes/ChatsListView.m index 6eb5d5148..0c5de5fb2 100644 --- a/Classes/ChatsListView.m +++ b/Classes/ChatsListView.m @@ -41,6 +41,14 @@ LinphoneProxyConfig *cfg = linphone_core_get_default_proxy_config(LC); _addGroupChatButton.hidden = !(cfg && linphone_proxy_config_get_conference_factory_uri(cfg)); [_toggleSelectionButton setImage:[UIImage imageNamed:@"select_all_default.png"] forState:UIControlStateSelected]; + + // For testing crashlytics + /*UIButton* button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; + button.frame = CGRectMake(20, 50, 100, 30); + [button setTitle:@"Crash" forState:UIControlStateNormal]; + [button addTarget:self action:@selector(crashButtonTapped:) + forControlEvents:UIControlEventTouchUpInside]; + [self.view addSubview:button];*/ } - (void)viewWillDisappear:(BOOL)animated { @@ -134,4 +142,8 @@ static UICompositeViewDescription *compositeDescription = nil; }]; } +- (IBAction)crashButtonTapped:(id)sender { + assert(NO); +} + @end