diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2017-03-13 11:27:46 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2017-03-13 11:27:46 -0700 |
commit | 23e539c6fd29128075312885ab1c400532c89250 (patch) | |
tree | d12d4c5893eded93da42edea3c0bbbb0a23e8113 /SmartDeviceLink/SDLResponseDispatcher.m | |
parent | 68a32ce6ba99ed77e55485039b5543e16b1624e1 (diff) | |
download | sdl_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.m | 2 |
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]; |