mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge branch 'charlesmchen/increaseLocalNotificationDelay'
This commit is contained in:
commit
16cde883fd
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ NSString *const PushManagerUserInfoKeysCallBackSignalRecipientId = @"PushManager
|
|||
if (checkForCancel && threadId != nil) {
|
||||
// The longer we wait, the more obsolete notifications we can suppress -
|
||||
// but the more lag we introduce to notification delivery.
|
||||
const CGFloat kDelaySeconds = 0.3f;
|
||||
const CGFloat kDelaySeconds = 0.5f;
|
||||
notification.fireDate = [NSDate dateWithTimeIntervalSinceNow:kDelaySeconds];
|
||||
notification.timeZone = [NSTimeZone localTimeZone];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue