fixup condition

// FREEBIE
This commit is contained in:
Michael Kirk 2017-01-23 18:27:23 -05:00
parent 870fb960a2
commit 2355c74173
1 changed files with 1 additions and 1 deletions

View File

@ -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];