summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-04-27 14:08:21 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-04-27 14:08:21 -0400
commit9cf266fefdbd32c851162c903fa23eeb4d0b547b (patch)
treefef8d9b80f8a4f8549505bb6630bd0a9b559e3e4
parent23a20d7efde15761fff9d3d9e5952e5b5ca4de61 (diff)
downloadsdl_ios-9cf266fefdbd32c851162c903fa23eeb4d0b547b.tar.gz
Fix missing check
-rw-r--r--SmartDeviceLink/SDLMenuManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLMenuManager.m b/SmartDeviceLink/SDLMenuManager.m
index d140f25ad..4465de47f 100644
--- a/SmartDeviceLink/SDLMenuManager.m
+++ b/SmartDeviceLink/SDLMenuManager.m
@@ -92,7 +92,7 @@ UInt32 const MenuCellIdMin = 1;
#pragma mark - Updating System
- (void)sdl_updateWithCompletionHandler:(nullable SDLMenuUpdateCompletionHandler)completionHandler {
- if (self.currentHMILevel == nil || [self.currentHMILevel isEqualToString:SDLHMILevelNone]) {
+ if (self.currentHMILevel == nil || [self.currentHMILevel isEqualToEnum:SDLHMILevelNone] || [self.currentSystemContext isEqualToEnum:SDLSystemContextMenu]) {
return;
}