Skip to content

Commit 861e3d6

Browse files
Fixes #930
1 parent b70be4d commit 861e3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Signal/src/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ - (void)applicationWillResignActive:(UIApplication *)application {
172172
}];
173173

174174
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
175-
[self protectScreen];
176175
if ([TSAccountManager isRegistered]) {
177176
dispatch_sync(dispatch_get_main_queue(), ^{
177+
[self protectScreen];
178178
[[[Environment getCurrent] signalsViewController] updateInboxCountLabel];
179179
});
180180
[TSSocketManager resignActivity];

0 commit comments

Comments
 (0)