More tint color changes

This commit is contained in:
Arnfried Griesert
2023-03-06 22:11:23 +01:00
parent 9705d935c9
commit d5d299a357
45 changed files with 187 additions and 43 deletions
@@ -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
}