From 3d112a5683f982fefee2a230416b1311763b2671 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Wed, 7 Aug 2024 09:39:18 +0100 Subject: [PATCH] Make sure the whole room header is tappable. (#3125) The space between the avatar and the label wasn't. --- ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift b/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift index 3243cd38e..4890bf76d 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift @@ -163,6 +163,7 @@ struct RoomScreen: View { roomAvatar: context.viewState.roomAvatar, imageProvider: context.imageProvider) // Using a button stops it from getting truncated in the navigation bar + .contentShape(.rect) .onTapGesture { context.send(viewAction: .displayRoomDetails) }