diff options
author | James Lapinski <43190016+lapinskijw@users.noreply.github.com> | 2020-05-28 09:17:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 09:17:17 -0400 |
commit | da87ad29cf7e36255b5036209778210e62a35ec5 (patch) | |
tree | 463dedc63388861bcc7cf3ccc4ef3ebac6cc9e7e | |
parent | 15534aede7b4cbf69a9356ac674be8fda4a74bbc (diff) | |
download | sdl_ios-bugfix/issue-1648-sdlmenucell-empty-voice-commands.tar.gz |
Update SmartDeviceLink/SDLMenuManager.mbugfix/issue-1648-sdlmenucell-empty-voice-commands
Co-authored-by: Joel Fischer <joeljfischer@gmail.com>
-rw-r--r-- | SmartDeviceLink/SDLMenuManager.m | 2 |
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); |