summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2021-03-19 15:16:24 -0400
committerFrank Elias <francois.elias@livio.io>2021-03-19 15:16:24 -0400
commitc73be4dc959f0611b7e22e6d1adf8b604992888f (patch)
treebff5890ab8c900ba95765f5bb9385c46c5640ab0
parent9c1b7a509a061f7e0ff9f55b788c1a69f26e251b (diff)
downloadsdl_ios-c73be4dc959f0611b7e22e6d1adf8b604992888f.tar.gz
Var name update
-rw-r--r--SmartDeviceLink/private/SDLLockScreenManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLLockScreenManager.m b/SmartDeviceLink/private/SDLLockScreenManager.m
index 1924b8b5a..13ee82f0e 100644
--- a/SmartDeviceLink/private/SDLLockScreenManager.m
+++ b/SmartDeviceLink/private/SDLLockScreenManager.m
@@ -167,7 +167,7 @@ NS_ASSUME_NONNULL_BEGIN
}
// currentDriverDistraction variable is introduced to insure that unless the lockScreenDismissalEnabled value changes, it should stay what it was last set to
SDLOnDriverDistraction *currentDriverDistraction = notification.notification;
- if (currentDriver.lockScreenDismissalEnabled == nil && self.lastDriverDistractionNotification.lockScreenDismissalEnabled != nil){
+ if (currentDriverDistraction.lockScreenDismissalEnabled == nil && self.lastDriverDistractionNotification.lockScreenDismissalEnabled != nil){
currentDriverDistraction.lockScreenDismissalEnabled = self.lastDriverDistractionNotification.lockScreenDismissalEnabled;
currentDriverDistraction.lockScreenDismissalWarning = self.lastDriverDistractionNotification.lockScreenDismissalWarning;
}