From 16728ca43838da86476a6f875121811d8ba0fbbe Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 22 May 2023 14:18:12 +0300 Subject: [PATCH] Fixes #923 - Add background color to avatars --- ElementX/Sources/Other/SwiftUI/Views/LoadableAvatarImage.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ElementX/Sources/Other/SwiftUI/Views/LoadableAvatarImage.swift b/ElementX/Sources/Other/SwiftUI/Views/LoadableAvatarImage.swift index 8b0d0eb75..f8e56c5bd 100644 --- a/ElementX/Sources/Other/SwiftUI/Views/LoadableAvatarImage.swift +++ b/ElementX/Sources/Other/SwiftUI/Views/LoadableAvatarImage.swift @@ -38,6 +38,7 @@ struct LoadableAvatarImage: View { var body: some View { avatar .frame(width: frameSize, height: frameSize) + .background(Color.element.background) .clipShape(Circle()) }