Re-enables user interaction with navbar when view appears.

This commit is contained in:
Christine Corbett 2015-01-28 23:02:36 -10:00 committed by Frederic Jacobs
parent 826b73051d
commit 499cdfa56f
1 changed files with 1 additions and 3 deletions

View File

@ -174,8 +174,6 @@ typedef enum : NSUInteger {
[_attachButton setImage:[UIImage imageNamed:@"btnAttachments--blue"] forState:UIControlStateNormal];
[super viewDidLoad];
[self markAllMessagesAsRead];
[self initializeBubbles];
@ -191,7 +189,6 @@ typedef enum : NSUInteger {
[self.messageMappings updateWithTransaction:transaction];
}];
[self initializeToolbars];
[self initializeCollectionViewLayout];
self.senderId = ME_MESSAGE_IDENTIFIER
@ -226,6 +223,7 @@ typedef enum : NSUInteger {
NSIndexPath * lastCellIndexPath = [NSIndexPath indexPathForRow:numberOfMessages-1 inSection:0];
[self.collectionView scrollToItemAtIndexPath:lastCellIndexPath atScrollPosition:UICollectionViewScrollPositionBottom animated:NO];
}
[self initializeToolbars];
}
- (void)startReadTimer{