diff options
author | Frank Elias <francois.elias@livio.io> | 2020-11-20 17:08:30 -0500 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2020-11-20 17:08:30 -0500 |
commit | 03f7c2055442afbe7c00fca1116b75df04abc713 (patch) | |
tree | 5f9ba27ff1580f747e918a043306adace41e15ab /Example Apps/Example Swift | |
parent | 9de3fee5b73a8ea7b66fb10f18a24d75bc98f2a6 (diff) | |
download | sdl_ios-03f7c2055442afbe7c00fca1116b75df04abc713.tar.gz |
Diffstat (limited to 'Example Apps/Example Swift')
-rw-r--r-- | Example Apps/Example Swift/ProxyManager.swift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift index 1e68f9f32..8a53e7c76 100644 --- a/Example Apps/Example Swift/ProxyManager.swift +++ b/Example Apps/Example Swift/ProxyManager.swift @@ -165,10 +165,6 @@ extension ProxyManager: SDLManagerDelegate { // This is our first time in a non-NONE state firstHMILevelState = newLevel - // Send static menu items and soft buttons - createMenuAndGlobalVoiceCommands() - sdlManager.screenManager.softButtonObjects = buttonManager.allScreenSoftButtons() - // Subscribe to vehicle data. vehicleDataManager.subscribeToVehicleOdometer() @@ -252,6 +248,10 @@ private extension ProxyManager { /// Set the template and create the UI func showInitialData() { + // Send static menu items and soft buttons + createMenuAndGlobalVoiceCommands() + sdlManager.screenManager.softButtonObjects = buttonManager.allScreenSoftButtons() + guard sdlManager.hmiLevel == .full else { return } sdlManager.screenManager.changeLayout(SDLTemplateConfiguration(predefinedLayout: .nonMedia), withCompletionHandler: nil) |