summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-08-03 14:31:40 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-08-03 14:31:40 -0400
commitafbf305d4f4a155ab75375687b5d4fcc19c9dcf6 (patch)
tree11c87c36c531df492ba10395173726a2b26afb55
parent84f8b943590c64ac811127111564775f9267554f (diff)
downloadsdl_ios-afbf305d4f4a155ab75375687b5d4fcc19c9dcf6.tar.gz
Fix voice command slowdown
-rw-r--r--SmartDeviceLink_Example/MenuManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink_Example/MenuManager.m b/SmartDeviceLink_Example/MenuManager.m
index 1a7a86db3..083d368d8 100644
--- a/SmartDeviceLink_Example/MenuManager.m
+++ b/SmartDeviceLink_Example/MenuManager.m
@@ -49,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN
NSMutableArray *submenuItems = [[NSMutableArray alloc] init];
NSArray<NSString *> *allVehicleDataTypes = [self sdlex_allVehicleDataTypes];
for (NSString *vehicleDataType in allVehicleDataTypes) {
- SDLMenuCell *cell = [[SDLMenuCell alloc] initWithTitle:vehicleDataType icon:nil voiceCommands:@[vehicleDataType] handler:^(SDLTriggerSource _Nonnull triggerSource) {
+ SDLMenuCell *cell = [[SDLMenuCell alloc] initWithTitle:vehicleDataType icon:nil voiceCommands:nil handler:^(SDLTriggerSource _Nonnull triggerSource) {
[VehicleDataManager getAllVehicleDataWithManager:manager triggerSource:triggerSource vehicleDataType:vehicleDataType];
}];
[submenuItems addObject:cell];