commit 2a2af056eb53419671b11eed2d65fcbe268a589c
parent f56edd554751b5417f4d36af7191261a57e6f9a6
Author: William Casarin <jb55@jb55.com>
Date: Tue, 11 Apr 2023 13:57:22 -0700
Make tabs easier to click
Changelog-Changed: Make tabs easier to click
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/damus/Components/CustomPicker.swift b/damus/Components/CustomPicker.swift
@@ -37,6 +37,8 @@ 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 {
@@ -48,7 +50,6 @@ struct CustomPicker<SelectionValue: Hashable, Content: View>: View {
},
alignment: .bottom
)
- .frame(maxWidth: .infinity)
.accentColor(tag == selection ? textColor() : .gray)
}
}