diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index f75d252eb..e15e7144d 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -386,7 +386,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify"; return; } - if ([TSStorageManager isDatabasePasswordAccessible]) { + if (![TSStorageManager isDatabasePasswordAccessible]) { UILocalNotification *notification = [[UILocalNotification alloc] init]; notification.alertBody = NSLocalizedString(@"PHONE_NEEDS_UNLOCK", nil); [[UIApplication sharedApplication] presentLocalNotificationNow:notification];