summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-03-04 14:03:42 -0500
committerJoel Fischer <joeljfischer@gmail.com>2020-03-04 14:03:42 -0500
commit72a4e96b366c7e1e3e1f35ec4bb75b6eb7531a6d (patch)
treede4896ac2a171bf7bc40d1dfd1b891f3d36df683
parentac3d04603a9a482bf4b210b43bc39f447d2ddb81 (diff)
downloadsdl_ios-72a4e96b366c7e1e3e1f35ec4bb75b6eb7531a6d.tar.gz
Fix checking nil on something that can never be nil
-rw-r--r--SmartDeviceLink/SDLSoftButtonReplaceOperation.m2
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