mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
More tint color changes
This commit is contained in:
@@ -76,9 +76,15 @@ class LocationAnnotationView: MGLUserLocationAnnotationView {
|
||||
|
||||
private func addPinMarkerView() {
|
||||
guard let pinMarkerView = UIHostingController(rootView: LocationSharingMarkerView(backgroundColor: theme.colors.accent) {
|
||||
Image(uiImage: Asset.Images.locationPinIcon.image)
|
||||
.resizable()
|
||||
.shapedBorder(color: Color(ThemeService.shared().theme.tintColor), borderWidth: 3, shape: Circle())
|
||||
if BWIBuildSettings.shared.bwiEnableBuMUI {
|
||||
Image(uiImage: Asset.Images.locationPinIconBum.image)
|
||||
.resizable()
|
||||
.shapedBorder(color: Color(ThemeService.shared().theme.tintColor), borderWidth: 3, shape: Circle())
|
||||
} else {
|
||||
Image(uiImage: Asset.Images.locationPinIcon.image)
|
||||
.resizable()
|
||||
.shapedBorder(color: Color(ThemeService.shared().theme.tintColor), borderWidth: 3, shape: Circle())
|
||||
}
|
||||
}).view else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user