diff options
author | Satbir Tanda <satbirtanda@gmail.com> | 2019-07-29 02:41:11 -0700 |
---|---|---|
committer | Satbir Tanda <satbirtanda@gmail.com> | 2019-07-29 04:56:39 -0700 |
commit | 26db52e8d763e1dc5fe5ce23fbedee9797446c89 (patch) | |
tree | ab2079d3350c8744d8a7e65dbf8a7e3977e0d6d5 /SmartDeviceLink/SDLButtonPress.m | |
parent | 252fbb398e994d69de56ec739755c670df84118a (diff) | |
download | sdl_ios-26db52e8d763e1dc5fe5ce23fbedee9797446c89.tar.gz |
Add Tests
Fix logic errors
Diffstat (limited to 'SmartDeviceLink/SDLButtonPress.m')
-rw-r--r-- | SmartDeviceLink/SDLButtonPress.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLButtonPress.m b/SmartDeviceLink/SDLButtonPress.m index 8311eb235..fd441899f 100644 --- a/SmartDeviceLink/SDLButtonPress.m +++ b/SmartDeviceLink/SDLButtonPress.m @@ -60,12 +60,12 @@ NS_ASSUME_NONNULL_BEGIN } - (void)setModuleId:(NSString *)moduleId { - [self.store sdl_setObject:moduleId forName:SDLRPCParameterNameModuleId]; + [self.parameters sdl_setObject:moduleId forName:SDLRPCParameterNameModuleId]; } - (NSString *)moduleId { NSError *error = nil; - return [self.store sdl_objectForName:SDLRPCParameterNameModuleId ofClass:NSString.class error:&error]; + return [self.parameters sdl_objectForName:SDLRPCParameterNameModuleId ofClass:NSString.class error:&error]; } @end |