summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLockScreenManager.m
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-08-23 10:25:21 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-08-23 10:28:30 -0400
commit706ea518056c031f0c5b4c70a2c9de3506f73f18 (patch)
treee947b6e7be0741242c73e2ceffa05c21524e6b37 /SmartDeviceLink/SDLLockScreenManager.m
parent269d619ae8d3e26304b8b7a975cdd40004c31072 (diff)
downloadsdl_ios-706ea518056c031f0c5b4c70a2c9de3506f73f18.tar.gz
Remove “ephemeral” from SDLFile class initializers
* Minor clarity updates
Diffstat (limited to 'SmartDeviceLink/SDLLockScreenManager.m')
-rw-r--r--SmartDeviceLink/SDLLockScreenManager.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLLockScreenManager.m b/SmartDeviceLink/SDLLockScreenManager.m
index 1f762acc8..b39fd2160 100644
--- a/SmartDeviceLink/SDLLockScreenManager.m
+++ b/SmartDeviceLink/SDLLockScreenManager.m
@@ -57,17 +57,17 @@ NS_ASSUME_NONNULL_BEGIN
} else if (self.config.customViewController != nil) {
self.presenter.viewController = self.config.customViewController;
} else {
- SDLLockScreenViewController *lockScreenVC = nil;
+ SDLLockScreenViewController *viewController = nil;
@try {
- lockScreenVC = [[UIStoryboard storyboardWithName:@"SDLLockScreen" bundle:[NSBundle bundleForClass:[self class]]] instantiateInitialViewController];
+ viewController = [[UIStoryboard storyboardWithName:@"SDLLockScreen" bundle:[NSBundle bundleForClass:[self class]]] instantiateInitialViewController];
} @catch (NSException *exception) {
[SDLDebugTool logInfo:@"SDL Error: Attempted to instantiate the default SDL Lock Screen and could not find the storyboard. Be sure the 'SmartDeviceLink' bundle is within your main bundle. We're just going to return without instantiating the lock screen."];
return;
}
- lockScreenVC.appIcon = self.config.appIcon;
- lockScreenVC.backgroundColor = self.config.backgroundColor;
- self.presenter.viewController = lockScreenVC;
+ viewController.appIcon = self.config.appIcon;
+ viewController.backgroundColor = self.config.backgroundColor;
+ self.presenter.viewController = viewController;
}
self.canPresent = YES;