mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
5720: Remove useless color, fix some issue with AvatarImage border
This commit is contained in:
@@ -40,7 +40,7 @@ class AvatarViewModel: InjectableObject, ObservableObject {
|
||||
matrixItemId: String,
|
||||
displayName: String?,
|
||||
colorCount: Int,
|
||||
avatarSize: AvatarSize?) {
|
||||
avatarSize: AvatarSize) {
|
||||
|
||||
let placeholderViewModel = PlaceholderAvatarViewModel(displayName: displayName,
|
||||
matrixItemId: matrixItemId,
|
||||
@@ -52,7 +52,7 @@ class AvatarViewModel: InjectableObject, ObservableObject {
|
||||
return
|
||||
}
|
||||
|
||||
avatarService.avatarImage(mxContentUri: mxContentUri, avatarSize: avatarSize ?? .large)
|
||||
avatarService.avatarImage(mxContentUri: mxContentUri, avatarSize: avatarSize)
|
||||
.sink { completion in
|
||||
guard case let .failure(error) = completion else { return }
|
||||
UILog.error("[AvatarService] Failed to retrieve avatar: \(error)")
|
||||
|
||||
Reference in New Issue
Block a user