The typing events are now displayed at the screen bottom.

This commit is contained in:
yannick
2015-11-18 15:59:04 +01:00
parent b63d07c32b
commit 2d87c1b686
4 changed files with 71 additions and 3 deletions
+9 -1
View File
@@ -126,6 +126,12 @@
[self.menuListView addConstraint:heightConstraint];
}
[self.view setNeedsUpdateConstraints];
if (self.roomDataSource)
{
// this room view controller has its own typing management.
self.roomDataSource.showTypingNotifications = NO;
}
}
- (void)didReceiveMemoryWarning
@@ -458,6 +464,8 @@
// get the room member names
NSMutableArray *names = [[NSMutableArray alloc] init];
// keeps the only the first two users
//
for(int i = 0; i < MIN(count, 2); i++) {
NSString* name = [currentTypingUsers objectAtIndex:i];
@@ -489,7 +497,7 @@
text = [NSString stringWithFormat:NSLocalizedStringFromTable(@"room_many_users_are_typing", @"Vector", nil), [names objectAtIndex:0], [names objectAtIndex:1]];
}
//((RoomInputToolbarView*)self.inputToolbarView).typingNotifLabel.text = text;
[((RoomExtraInfosInfoView*) self.extraInfoView) updateTypingMessage:text];
}
@end