From 29e07ca809161cf923a97aa24322cefd4c2033b1 Mon Sep 17 00:00:00 2001 From: Gert-Jan Vercauteren Date: Wed, 27 Mar 2024 18:33:07 +0800 Subject: [PATCH] fix: Move content shape to HSTack to allow custom button to be tappable (#1920) --- .../AppSearchModal/Classes/AppSearchModalContentView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backpack-SwiftUI/AppSearchModal/Classes/AppSearchModalContentView.swift b/Backpack-SwiftUI/AppSearchModal/Classes/AppSearchModalContentView.swift index 9dd361b2b..54862cc83 100644 --- a/Backpack-SwiftUI/AppSearchModal/Classes/AppSearchModalContentView.swift +++ b/Backpack-SwiftUI/AppSearchModal/Classes/AppSearchModalContentView.swift @@ -94,8 +94,8 @@ struct AppSearchModalContentView: View { .foregroundColor(.textSecondaryColor) } } + .contentShape(Rectangle()) } - .contentShape(Rectangle()) .buttonStyle(ItemCellButtonStyle()) }