mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fixes #930
This commit is contained in:
parent
b70be4d559
commit
861e3d6266
|
@ -172,9 +172,9 @@ static NSString * const kURLHostVerifyPrefix = @"verify";
|
|||
}];
|
||||
|
||||
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];
|
||||
|
|
Loading…
Reference in a new issue