From 3ff4522c4fa877ffe2b88bc2128e17ed9f4071dd Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 13 Apr 2015 02:48:56 +0200 Subject: [PATCH] (iOS) Update applicationDidBecomeActive - startup UI Companion screen when setting is enabled --- apple/iOS/platform.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index fdb96055e7..b4182d238a 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -318,6 +318,11 @@ enum - (void)applicationDidBecomeActive:(UIApplication *)application { + settings_t *settings = config_get_ptr(); + + if (settings->ui.companion_start_on_boot) + return; + [self showGameView]; }