Hello,
I try to add a couple of Complications to my App. Most of the Complications needs to be Configurable, so I use an IntentConfiguration for them.
I use this recommendations function to create my complications.
func recommendations() -> [IntentRecommendation<ConfigurationIntent>] {
var recommendations = [IntentRecommendation<ConfigurationIntent>]()
for vehicle in vehicleStatusList {
let intent = ConfigurationIntent()
intent.vehicleItem = VehicleItem(identifier: vehicle.id, display: vehicle.name)
recommendations.append(IntentRecommendation(intent: intent, description: vehicle.name))
}
return recommendations
}
But with this I get the result from the screenshot... How can I change this to get a better User Experience?
When I click one item in the List, I get a correct Complication. But it would be nice to have a change to name them correctly...
The first in the List is a StaticConfiguration...