mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Fix CPAlertAction.Style to ensure closure is called
This commit is contained in:
committed by
Yannik Bloscheck
parent
1ec6ccd0d6
commit
306ac77939
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user