Add a rounded rect border around space avatars

.. and also refactor the LoadableAvatarImage to stop having knowledge of spaces and instead focus on generic shapes.
This commit is contained in:
Stefan Ceriu
2026-02-10 14:12:40 +02:00
committed by Stefan Ceriu
parent 20a84dd896
commit 591ce3975b
5 changed files with 34 additions and 26 deletions
@@ -116,7 +116,7 @@ struct RoomAvatarImage: View {
LoadableAvatarImage(url: avatarURL,
name: name,
contentID: id,
isSpace: true,
shape: .roundedRect,
avatarSize: avatarSize,
mediaProvider: mediaProvider,
onTap: onAvatarTap)