diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2018-04-27 15:36:46 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2018-04-27 15:36:46 -0400 |
commit | 8a2040393a7bb44667a09421b9455e83cfa9d67f (patch) | |
tree | 0e50c89c7e35e9ec69c29266d5f432074e38d485 | |
parent | 567cf3f57a10bcdc3e6f465510948c7e46fceb89 (diff) | |
download | sdl_ios-8a2040393a7bb44667a09421b9455e83cfa9d67f.tar.gz |
Fix waiting on hmi update always being true
-rw-r--r-- | SmartDeviceLink/SDLMenuManager.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLMenuManager.m b/SmartDeviceLink/SDLMenuManager.m index bf71066ad..981b1223f 100644 --- a/SmartDeviceLink/SDLMenuManager.m +++ b/SmartDeviceLink/SDLMenuManager.m @@ -206,11 +206,13 @@ UInt32 const MenuCellIdMin = 1; if (self.currentHMILevel == nil || [self.currentHMILevel isEqualToEnum:SDLHMILevelNone] || [self.currentSystemContext isEqualToEnum:SDLSystemContextMenu]) { - _waitingOnHMIUpdate = YES; + self.waitingOnHMIUpdate = YES; _menuCells = menuCells; return; } + self.waitingOnHMIUpdate = NO; + // Check for duplicate titles NSMutableSet *titleCheckSet = [NSMutableSet set]; for (SDLMenuCell *cell in menuCells) { |