Skip to content

Commit

Permalink
Fixes #930
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericJacobs committed Nov 2, 2015
1 parent b70be4d commit 861e3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Signal/src/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ - (void)applicationWillResignActive:(UIApplication *)application {
}];

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
[self protectScreen];
if ([TSAccountManager isRegistered]) {
dispatch_sync(dispatch_get_main_queue(), ^{
[self protectScreen];
[[[Environment getCurrent] signalsViewController] updateInboxCountLabel];
});
[TSSocketManager resignActivity];
Expand Down

1 comment on commit 861e3d6

@WhisperBTC
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! BitHub has sent payment of $46.33USD for this commit.

Please sign in to comment.