mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 21:33:59 +00:00
[ios] Replaced some CarPlay images with system versions
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
c11f007012
commit
96a7b31f4b
@@ -125,9 +125,9 @@ final class ListTemplateBuilder {
|
|||||||
private class func buildBarButton(type: BarButtonType, action: ((CPBarButton) -> Void)?) -> CPBarButton {
|
private class func buildBarButton(type: BarButtonType, action: ((CPBarButton) -> Void)?) -> CPBarButton {
|
||||||
switch type {
|
switch type {
|
||||||
case .bookmarks:
|
case .bookmarks:
|
||||||
return CPBarButton(image: UIImage(named: "ic_carplay_bookmark")!, handler: action)
|
return CPBarButton(image: UIImage(systemName: "list.star")!, handler: action)
|
||||||
case .search:
|
case .search:
|
||||||
return CPBarButton(image: UIImage(named: "ic_carplay_keyboard")!, handler: action)
|
return CPBarButton(image: UIImage(systemName: "keyboard.fill")!, handler: action)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ final class MapTemplateBuilder {
|
|||||||
case .recenter:
|
case .recenter:
|
||||||
return CPBarButton(title: L("follow_my_position"), handler: action)
|
return CPBarButton(title: L("follow_my_position"), handler: action)
|
||||||
case .settings:
|
case .settings:
|
||||||
return CPBarButton(image: UIImage(named: "ic_carplay_settings")!, handler: action)
|
return CPBarButton(image: UIImage(systemName: "gearshape.fill")!, handler: action)
|
||||||
case .mute:
|
case .mute:
|
||||||
return CPBarButton(image: UIImage(named: "ic_carplay_unmuted")!, handler: action)
|
return CPBarButton(image: UIImage(named: "ic_carplay_unmuted")!, handler: action)
|
||||||
case .unmute:
|
case .unmute:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"info" : {
|
"info" : {
|
||||||
"version" : 1,
|
"author" : "xcode",
|
||||||
"author" : "xcode"
|
"version" : 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "ic_carplay_bookmark.pdf"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"properties" : {
|
|
||||||
"template-rendering-intent" : "template"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "ic_carplay_keyboard.pdf"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"properties" : {
|
|
||||||
"template-rendering-intent" : "template"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "ic_carplay_settings.pdf"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"properties" : {
|
|
||||||
"template-rendering-intent" : "template"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
Reference in New Issue
Block a user