|
|
@ -240,8 +240,7 @@ static NSTimeInterval launchStartedAt;
|
|
|
|
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
|
|
|
|
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
|
|
|
|
[UIApplication.sharedApplication setApplicationIconBadgeNumber:1];
|
|
|
|
[UIApplication.sharedApplication setApplicationIconBadgeNumber:1];
|
|
|
|
|
|
|
|
|
|
|
|
[DDLog flushLog];
|
|
|
|
OWSFail(@"!isDatabasePasswordAccessible.");
|
|
|
|
exit(0);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -339,9 +338,7 @@ static NSTimeInterval launchStartedAt;
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
[Pastelog submitLogsWithCompletion:^{
|
|
|
|
[Pastelog submitLogsWithCompletion:^{
|
|
|
|
OWSLogInfo(@"exiting after sharing debug logs.");
|
|
|
|
OWSFail(@"exiting after sharing debug logs.");
|
|
|
|
[DDLog flushLog];
|
|
|
|
|
|
|
|
exit(0);
|
|
|
|
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
}]];
|
|
|
|
}]];
|
|
|
|
UIViewController *fromViewController = [[UIApplication sharedApplication] frontmostViewController];
|
|
|
|
UIViewController *fromViewController = [[UIApplication sharedApplication] frontmostViewController];
|
|
|
|