fixup condition

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 870fb960a2
commit 2355c74173

@ -386,7 +386,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
return; return;
} }
if ([TSStorageManager isDatabasePasswordAccessible]) { if (![TSStorageManager isDatabasePasswordAccessible]) {
UILocalNotification *notification = [[UILocalNotification alloc] init]; UILocalNotification *notification = [[UILocalNotification alloc] init];
notification.alertBody = NSLocalizedString(@"PHONE_NEEDS_UNLOCK", nil); notification.alertBody = NSLocalizedString(@"PHONE_NEEDS_UNLOCK", nil);
[[UIApplication sharedApplication] presentLocalNotificationNow:notification]; [[UIApplication sharedApplication] presentLocalNotificationNow:notification];

Loading…
Cancel
Save