mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Fix avatar button and make mxid copyable. (#1678)
This commit is contained in:
parent
bd4ee92124
commit
3db662b124
@ -37,6 +37,7 @@ struct AvatarHeaderView<Footer: View>: View {
|
||||
avatarSize: avatarSize,
|
||||
imageProvider: imageProvider)
|
||||
}
|
||||
.buttonStyle(.borderless) // Add a button style to stop the whole row being tappable.
|
||||
|
||||
Text(name ?? id)
|
||||
.foregroundColor(.compound.textPrimary)
|
||||
@ -48,6 +49,7 @@ struct AvatarHeaderView<Footer: View>: View {
|
||||
.foregroundColor(.compound.textSecondary)
|
||||
.font(.compound.bodyLG)
|
||||
.multilineTextAlignment(.center)
|
||||
.textSelection(.enabled)
|
||||
}
|
||||
|
||||
footer()
|
||||
|
1
changelog.d/1669.bugfix
Normal file
1
changelog.d/1669.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix avatar button size and make mxid copyable in Room/Member details screens.
|
Loading…
x
Reference in New Issue
Block a user