Skip to content

Commit

Permalink
iOS 9 build fix (#16056)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Dec 28, 2023
1 parent ea87495 commit 285f800
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/drivers/ui_cocoatouch.m
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ - (void)applicationDidBecomeActive:(UIApplication *)application
if (!ui_companion_start_on_boot)
[self showGameView];

#ifdef HAVE_CLOUDSYNC
if (self.bgDate)
{
if ( [[NSDate date] timeIntervalSinceDate:self.bgDate] > 60.0f
Expand All @@ -587,6 +588,7 @@ - (void)applicationDidBecomeActive:(UIApplication *)application
task_push_cloud_sync();
self.bgDate = nil;
}
#endif
}

-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options {
Expand Down

0 comments on commit 285f800

Please sign in to comment.