summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTouchManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLTouchManager.m')
-rw-r--r--SmartDeviceLink/SDLTouchManager.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLTouchManager.m b/SmartDeviceLink/SDLTouchManager.m
index b661f3563..680dabad7 100644
--- a/SmartDeviceLink/SDLTouchManager.m
+++ b/SmartDeviceLink/SDLTouchManager.m
@@ -118,11 +118,11 @@ static NSUInteger const MaximumNumberOfTouches = 2;
return;
}
- if ([notification.type isEqualToString:SDLTouchTypeBegin]) {
+ if ([notification.type isEqualToEnum:SDLTouchTypeBegin]) {
[self sdl_handleTouchBegan:touch];
- } else if ([notification.type isEqualToString:SDLTouchTypeMove]) {
+ } else if ([notification.type isEqualToEnum:SDLTouchTypeMove]) {
[self sdl_handleTouchMoved:touch];
- } else if ([notification.type isEqualToString:SDLTouchTypeEnd]) {
+ } else if ([notification.type isEqualToEnum:SDLTouchTypeEnd]) {
[self sdl_handleTouchEnded:touch];
}
}