Fix CPAlertAction.Style to ensure closure is called

This commit is contained in:
Johannes
2025-06-13 18:38:56 +02:00
committed by Yannik Bloscheck
parent 1ec6ccd0d6
commit 306ac77939

View File

@@ -257,7 +257,7 @@ final class CarPlayService: NSObject {
mapTemplate.leadingNavigationBarButtons = []
mapTemplate.trailingNavigationBarButtons = []
mapTemplate.mapButtons = []
let doneAction = CPAlertAction(title: L("done"), style: .cancel) { [unowned self] _ in
let doneAction = CPAlertAction(title: L("done"), style: .default) { [unowned self] _ in
self.updateMapTemplateUIToBase()
}
var subtitle = ""