mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 22:23:44 +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.leadingNavigationBarButtons = []
|
||||||
mapTemplate.trailingNavigationBarButtons = []
|
mapTemplate.trailingNavigationBarButtons = []
|
||||||
mapTemplate.mapButtons = []
|
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()
|
self.updateMapTemplateUIToBase()
|
||||||
}
|
}
|
||||||
var subtitle = ""
|
var subtitle = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user