Fix edge cases in the unseen indicator.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-05-31 16:37:08 -04:00
parent 84d5ee8e47
commit 165de573c5
2 changed files with 4 additions and 2 deletions

View File

@ -557,8 +557,6 @@ typedef enum : NSUInteger {
selector:@selector(scrollToDefaultPosition)
userInfo:nil
repeats:NO];
[self markVisibleMessagesAsRead];
}
- (NSIndexPath *_Nullable)indexPathOfUnreadMessagesIndicator
@ -806,6 +804,8 @@ typedef enum : NSUInteger {
[self updateNavigationBarSubtitleLabel];
[MarkIdentityAsSeenJob runWithThread:self.thread];
[ProfileFetcherJob runWithThread:self.thread networkManager:self.networkManager];
[self markVisibleMessagesAsRead];
}
- (void)viewWillDisappear:(BOOL)animated

View File

@ -64,6 +64,8 @@ NSString *const SignalsViewControllerSegueShowIncomingCall = @"ShowIncomingCallS
@end
#pragma mark -
@implementation SignalsViewController
#pragma mark - Init