mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-05 15:37:45 +02:00
5720: Remove useless color, fix some issue with AvatarImage border
This commit is contained in:
@@ -36,9 +36,9 @@ struct LocationSharingMarkerView<Content: View>: View {
|
||||
.rotation(Angle(degrees: 45))
|
||||
.fill(backgroundColor)
|
||||
.frame(width: 7, height: 7)
|
||||
.offset(x: 0, y: 22)
|
||||
.offset(x: 0, y: 21)
|
||||
markerImage
|
||||
.frame(width: 42, height: 42)
|
||||
.frame(width: 40, height: 40)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,12 +53,12 @@ struct LocationSharingUserMarkerView_Previews: PreviewProvider {
|
||||
displayName: "Alice")
|
||||
VStack(alignment: .center, spacing: 15) {
|
||||
LocationSharingMarkerView(backgroundColor: .green) {
|
||||
AvatarImage(avatarData: avatarData, size: nil)
|
||||
.shapedBorder(color: Color.green, borderWidth: 3, shape: Circle())
|
||||
AvatarImage(avatarData: avatarData, size: .medium)
|
||||
.border()
|
||||
}
|
||||
LocationSharingMarkerView(backgroundColor: .green) {
|
||||
AvatarImage(avatarData: avatarData, size: nil)
|
||||
.shapedBorder(color: Color.green, borderWidth: 3, shape: Circle())
|
||||
AvatarImage(avatarData: avatarData, size: .medium)
|
||||
.border()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user