summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-08-14 12:46:47 -0400
committerJoel Fischer <joeljfischer@gmail.com>2019-08-14 12:46:47 -0400
commitda76e94db687c167aaa78b926ca0f726569656fc (patch)
treea32b83a7b7f8db8ea82b4fe90cb421e1ae7e03d9
parentfadf17584a27e69715aae8e2877d8b0ec49d2a13 (diff)
downloadsdl_ios-bugfix/issue_1363_choice_set_manager_success_with_error.tar.gz
-rw-r--r--SmartDeviceLink/SDLPresentChoiceSetOperation.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLPresentChoiceSetOperation.m b/SmartDeviceLink/SDLPresentChoiceSetOperation.m
index 1cb770484..d66255619 100644
--- a/SmartDeviceLink/SDLPresentChoiceSetOperation.m
+++ b/SmartDeviceLink/SDLPresentChoiceSetOperation.m
@@ -129,7 +129,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)sdl_presentChoiceSet {
__weak typeof(self) weakself = self;
[self.connectionManager sendConnectionRequest:self.performInteraction withResponseHandler:^(__kindof SDLRPCRequest * _Nullable request, __kindof SDLRPCResponse * _Nullable response, NSError * _Nullable error) {
- if (!response.success.boolValue && error != nil) {
+ if (!response.success.boolValue || error != nil) {
SDLLogE(@"Presenting choice set failed with response: %@, error: %@", response, error);
weakself.internalError = error;