damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 18aafb086ef50ed715845f645c3803e2777ec02d
parent fc534ea42d74967a0d1015999045b9e3c07f12a8
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 12 Apr 2023 19:49:36 -0700

Revert "Make tabs easier to click"

This reverts commit 2a2af056eb53419671b11eed2d65fcbe268a589c.

Diffstat:
Mdamus/Components/CustomPicker.swift | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/damus/Components/CustomPicker.swift b/damus/Components/CustomPicker.swift @@ -37,8 +37,6 @@ struct CustomPicker<SelectionValue: Hashable, Content: View>: View { text .padding(EdgeInsets(top: 15, leading: 0, bottom: 10, trailing: 0)) .font(.system(size: 14, weight: .heavy)) - .contentShape(Rectangle()) - .frame(maxWidth: .infinity) } .background( Group { @@ -50,6 +48,7 @@ struct CustomPicker<SelectionValue: Hashable, Content: View>: View { }, alignment: .bottom ) + .frame(maxWidth: .infinity) .accentColor(tag == selection ? textColor() : .gray) } }