summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLResponseDispatcher.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2017-03-13 11:27:46 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2017-03-13 11:27:46 -0700
commit23e539c6fd29128075312885ab1c400532c89250 (patch)
treed12d4c5893eded93da42edea3c0bbbb0a23e8113 /SmartDeviceLink/SDLResponseDispatcher.m
parent68a32ce6ba99ed77e55485039b5543e16b1624e1 (diff)
downloadsdl_ios-feature/issue_577_enum_equality.tar.gz
Added convenience isEqualToEnum function.feature/issue_577_enum_equality
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];