mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 03:48:27 +00:00
Add support for homeserver capabilities to disable the UserDetailsEditScreen UI. (#5421)
Add support for homeserver capabilities to disable editing your user profile. Also updates editable avatar size/formatting to match the latest Figma at the same time.
This commit is contained in:
+3
@@ -18,6 +18,9 @@ enum UserDetailsEditScreenViewModelAction {
|
||||
struct UserDetailsEditScreenViewState: BindableState {
|
||||
let userID: String
|
||||
|
||||
var canEditAvatar = true
|
||||
var canEditDisplayName = true
|
||||
|
||||
var currentAvatarURL: URL?
|
||||
var selectedAvatarURL: URL?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user