summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SmartDeviceLink/SDLMenuManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLMenuManager.m b/SmartDeviceLink/SDLMenuManager.m
index 880ffe025..849d5e4a2 100644
--- a/SmartDeviceLink/SDLMenuManager.m
+++ b/SmartDeviceLink/SDLMenuManager.m
@@ -642,7 +642,7 @@ UInt32 const MenuCellIdMin = 1;
params.position = @(position);
command.menuParams = params;
- command.vrCommands = cell.voiceCommands.count == 0 ? nil : cell.voiceCommands;
+ command.vrCommands = (cell.voiceCommands.count == 0) ? nil : cell.voiceCommands;
command.cmdIcon = (cell.icon && shouldHaveArtwork) ? cell.icon.imageRPC : nil;
command.cmdID = @(cell.cellId);