mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Label the avatar edit button on the own-profile edit screen
This commit is contained in:
+1
@@ -73,6 +73,7 @@ struct UserDetailsEditScreen: View {
|
|||||||
}
|
}
|
||||||
.buttonStyle(EditAvatarButtonStyle())
|
.buttonStyle(EditAvatarButtonStyle())
|
||||||
.disabled(!context.viewState.canEditAvatar)
|
.disabled(!context.viewState.canEditAvatar)
|
||||||
|
.accessibilityLabel(L10n.a11yEditAvatar)
|
||||||
.frame(maxWidth: .infinity, alignment: .center)
|
.frame(maxWidth: .infinity, alignment: .center)
|
||||||
.listRowBackground(Color.clear)
|
.listRowBackground(Color.clear)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user