diff options
Diffstat (limited to 'SmartDeviceLink/private/SDLMenuManager.m')
-rw-r--r-- | SmartDeviceLink/private/SDLMenuManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLMenuManager.m b/SmartDeviceLink/private/SDLMenuManager.m index 731449dd5..e8d7ef8a4 100644 --- a/SmartDeviceLink/private/SDLMenuManager.m +++ b/SmartDeviceLink/private/SDLMenuManager.m @@ -194,7 +194,7 @@ NS_ASSUME_NONNULL_BEGIN _menuCells = [[NSArray alloc] initWithArray:menuCells copyItems:YES]; __weak typeof(self) weakself = self; - SDLMenuReplaceOperation *menuReplaceOperation = [[SDLMenuReplaceOperation alloc] initWithConnectionManager:self.connectionManager fileManager:self.fileManager windowCapability:self.windowCapability menuConfiguration:self.menuConfiguration currentMenu:self.currentMenuCells updatedMenu:self.menuCells compatibilityModeEnabled:(![self sdl_isDynamicMenuUpdateActive:self.dynamicMenuUpdatesMode]) currentMenuUpdatedHandler:^(NSArray<SDLMenuCell *> * _Nonnull currentMenuCells, NSError *error) { + SDLMenuReplaceOperation *menuReplaceOperation = [[SDLMenuReplaceOperation alloc] initWithConnectionManager:self.connectionManager fileManager:self.fileManager windowCapability:self.windowCapability menuConfiguration:self.currentMenuConfiguration currentMenu:self.currentMenuCells updatedMenu:self.menuCells compatibilityModeEnabled:(![self sdl_isDynamicMenuUpdateActive:self.dynamicMenuUpdatesMode]) currentMenuUpdatedHandler:^(NSArray<SDLMenuCell *> * _Nonnull currentMenuCells, NSError *error) { weakself.currentMenuCells = currentMenuCells; [weakself sdl_updateMenuReplaceOperationsWithNewCurrentMenu]; SDLLogD(@"Finished updating menu"); |