mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Space Settings - Navigations (#4691)
* Implementation for all navigations inside the space settings aside the left space action * pr suggestions
This commit is contained in:
@@ -14,6 +14,7 @@ struct OverridableAvatarImage: View {
|
||||
let url: URL?
|
||||
let name: String?
|
||||
let contentID: String
|
||||
let isSpace: Bool
|
||||
let avatarSize: Avatars.Size
|
||||
let mediaProvider: MediaProviderProtocol?
|
||||
|
||||
@@ -27,11 +28,12 @@ struct OverridableAvatarImage: View {
|
||||
ProgressView()
|
||||
}
|
||||
.scaledFrame(size: avatarSize.value)
|
||||
.clipShape(Circle())
|
||||
.clipAvatar(isSpace: isSpace, size: avatarSize.value)
|
||||
} else {
|
||||
LoadableAvatarImage(url: url,
|
||||
name: name,
|
||||
contentID: contentID,
|
||||
isSpace: isSpace,
|
||||
avatarSize: avatarSize,
|
||||
mediaProvider: mediaProvider)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user