mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Make sure the whole room header is tappable. (#3125)
The space between the avatar and the label wasn't.
This commit is contained in:
@@ -163,6 +163,7 @@ struct RoomScreen: View {
|
|||||||
roomAvatar: context.viewState.roomAvatar,
|
roomAvatar: context.viewState.roomAvatar,
|
||||||
imageProvider: context.imageProvider)
|
imageProvider: context.imageProvider)
|
||||||
// Using a button stops it from getting truncated in the navigation bar
|
// Using a button stops it from getting truncated in the navigation bar
|
||||||
|
.contentShape(.rect)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
context.send(viewAction: .displayRoomDetails)
|
context.send(viewAction: .displayRoomDetails)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user