diff options
author | NicoleYarroch <nicole@livio.io> | 2019-12-16 08:47:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 08:47:30 -0500 |
commit | 55a8c36daaa8637f1e8dc7f87dfbdc05976ac727 (patch) | |
tree | 32fa2c6f580485922113e913f2753b0a1bec9a9f /SmartDeviceLink | |
parent | 5ec0fd41afe5e07e2ca4ed82f5e61b9d800249d5 (diff) | |
download | sdl_ios-55a8c36daaa8637f1e8dc7f87dfbdc05976ac727.tar.gz |
Apply suggestions from code review
Co-Authored-By: Joel Fischer <joeljfischer@gmail.com>
Diffstat (limited to 'SmartDeviceLink')
-rw-r--r-- | SmartDeviceLink/SDLLockScreenPresenter.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLLockScreenPresenter.m b/SmartDeviceLink/SDLLockScreenPresenter.m index ff8fb54b4..44590b044 100644 --- a/SmartDeviceLink/SDLLockScreenPresenter.m +++ b/SmartDeviceLink/SDLLockScreenPresenter.m @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN if (!self.lockWindow) { self.lockWindow = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds]; self.lockWindow.backgroundColor = UIColor.clearColor; - self.lockWindow.rootViewController = [SDLLockScreenRootViewController new]; + self.lockWindow.rootViewController = [[SDLLockScreenRootViewController alloc] init]; } // Let ourselves know that the lockscreen will present so we can pause video streaming for a few milliseconds - otherwise the animation to show the lock screen will be very janky. @@ -127,4 +127,3 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END - |