summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLResponseDispatcher.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLResponseDispatcher.m')
-rw-r--r--SmartDeviceLink/SDLResponseDispatcher.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLResponseDispatcher.m b/SmartDeviceLink/SDLResponseDispatcher.m
index 98df4a731..4cefaf1b0 100644
--- a/SmartDeviceLink/SDLResponseDispatcher.m
+++ b/SmartDeviceLink/SDLResponseDispatcher.m
@@ -200,7 +200,7 @@ NS_ASSUME_NONNULL_BEGIN
customID = ((SDLOnButtonPress *)rpcNotification).customButtonID;
}
- if ([name isEqualToString:SDLButtonNameCustomButton]) {
+ if ([name isEqualToEnum:SDLButtonNameCustomButton]) {
handler = self.customButtonHandlerMap[customID];
} else {
handler = self.buttonHandlerMap[name];