We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984b69c commit 60150c4Copy full SHA for 60150c4
Sources/OpenTDS/Component/ScrollView/ScrollView.swift
@@ -37,13 +37,15 @@ public struct TossScrollView<Content: View>: View {
37
VStack {
38
ZStack {
39
HStack {
40
- Button(action: {
41
- presentationMode.wrappedValue.dismiss()
42
- }) {
43
- TossIcon.chevron
44
- .resizable()
45
- .frame(width: 10.14, height: 17.77)
46
- .foregroundColor(Color(.label))
+ if showsDismiss {
+ Button(action: {
+ presentationMode.wrappedValue.dismiss()
+ }) {
+ TossIcon.chevron
+ .resizable()
+ .frame(width: 10.14, height: 17.77)
47
+ .foregroundColor(Color(.label))
48
+ }
49
}
50
Spacer()
51
0 commit comments