Skip to content

Commit

Permalink
Fix the add dialog prompt message for chanfilter_list
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Mar 28, 2019
1 parent 92658e2 commit 90d84ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IRCCloud/Classes/ChannelModeListTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ -(void)doneButtonPressed {
-(void)addButtonPressed {
[self.view endEditing:YES];
Server *s = [[ServersDataSource sharedInstance] getServer:self->_event.cid];
self->_alertView = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"%@ (%@:%i)", s.name, s.hostname, s.port] message:@"Add this hostmask" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Add", nil];
self->_alertView = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:@"%@ (%@:%i)", s.name, s.hostname, s.port] message:[_event.type isEqualToString:@"chanfilter_list"]?@"Add this pattern":@"Add this hostmask" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Add", nil];
self->_alertView.alertViewStyle = UIAlertViewStylePlainTextInput;
[self->_alertView textFieldAtIndex:0].delegate = self;
[self->_alertView textFieldAtIndex:0].tintColor = [UIColor blackColor];
Expand Down

0 comments on commit 90d84ee

Please sign in to comment.