mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
vector-im/element-ios/issues/5298 - Small tweaks following code review.
This commit is contained in:
committed by
Stefan Ceriu
parent
39e9b267fa
commit
58a6861475
@@ -25,7 +25,7 @@ struct LocationSharingUserMarkerView: View {
|
||||
|
||||
@Environment(\.theme) private var theme: ThemeSwiftUI
|
||||
|
||||
@State var frame: CGRect = .zero
|
||||
@State private var frame: CGRect = .zero
|
||||
|
||||
// MARK: Public
|
||||
|
||||
@@ -35,7 +35,7 @@ struct LocationSharingUserMarkerView: View {
|
||||
ZStack {
|
||||
Image(uiImage: Asset.Images.locationUserMarker.image)
|
||||
AvatarImage(avatarData: avatarData, size: .large)
|
||||
.offset(.init(width: 0.0, height: -1.5))
|
||||
.offset(y: -1.5)
|
||||
}
|
||||
.background(ViewFrameReader(frame: $frame))
|
||||
.padding(.bottom, frame.height)
|
||||
|
||||
Reference in New Issue
Block a user