diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-03-04 14:03:42 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-03-04 14:03:42 -0500 |
commit | 72a4e96b366c7e1e3e1f35ec4bb75b6eb7531a6d (patch) | |
tree | de4896ac2a171bf7bc40d1dfd1b891f3d36df683 | |
parent | ac3d04603a9a482bf4b210b43bc39f447d2ddb81 (diff) | |
download | sdl_ios-72a4e96b366c7e1e3e1f35ec4bb75b6eb7531a6d.tar.gz |
Fix checking nil on something that can never be nil
-rw-r--r-- | SmartDeviceLink/SDLSoftButtonReplaceOperation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLSoftButtonReplaceOperation.m b/SmartDeviceLink/SDLSoftButtonReplaceOperation.m index 403161212..ba7c0033d 100644 --- a/SmartDeviceLink/SDLSoftButtonReplaceOperation.m +++ b/SmartDeviceLink/SDLSoftButtonReplaceOperation.m @@ -273,7 +273,7 @@ NS_ASSUME_NONNULL_BEGIN } - (BOOL)sdl_supportsSoftButtonImages { - return (self.softButtonCapabilities != nil) ? self.softButtonCapabilities.imageSupported.boolValue : NO; + return self.softButtonCapabilities.imageSupported.boolValue; } #pragma mark - Property Overrides |