From 2355c7417317b7ceecceed7fb5c06e9ea03a38d9 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 23 Jan 2017 18:27:23 -0500 Subject: [PATCH] fixup condition // FREEBIE --- Signal/src/AppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];