mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix crash
This commit is contained in:
parent
6ea788289d
commit
990e306e59
1 changed files with 0 additions and 7 deletions
|
@ -260,13 +260,6 @@ static NSTimeInterval launchStartedAt;
|
|||
UNUserNotificationCenter.currentNotificationCenter.delegate = self;
|
||||
}
|
||||
|
||||
// Accept push notification when app is not open
|
||||
NSDictionary *remoteNotif = launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey];
|
||||
if (remoteNotif) {
|
||||
OWSLogInfo(@"Application was launched by tapping a push notification.");
|
||||
[self application:application didReceiveRemoteNotification:remoteNotif];
|
||||
}
|
||||
|
||||
[OWSScreenLockUI.sharedManager setupWithRootWindow:self.window];
|
||||
[[OWSWindowManager sharedManager] setupWithRootWindow:self.window
|
||||
screenBlockingWindow:OWSScreenLockUI.sharedManager.screenBlockingWindow];
|
||||
|
|
Loading…
Reference in a new issue