File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed
Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -149,25 +149,16 @@ public struct SwiftNEW: View {
149149 . stroke ( . gray, lineWidth: 1 )
150150 )
151151 }
152+ . clipShape ( RoundedRectangle ( cornerRadius: 19 , style: . continuous) )
152153 }
153154 public var headings : some View {
154- Group {
155+ HStack {
155156 if align == . leading {
156- HStack {
157- appIcon
158- . clipShape ( RoundedRectangle ( cornerRadius: 19 ) )
159- VStack {
160- Text ( " What's New in " ) . bold ( ) . font ( . largeTitle)
161- Text ( " Version \( Bundle . versionBuild) " ) . bold ( ) . font ( . title) . foregroundColor ( . secondary)
162- }
163- }
164- } else {
165- VStack {
166- appIcon
167- . clipShape ( RoundedRectangle ( cornerRadius: 19 ) )
168- Text ( " What's New in " ) . bold ( ) . font ( . largeTitle)
169- Text ( " Version \( Bundle . versionBuild) " ) . bold ( ) . font ( . title) . foregroundColor ( . secondary)
170- }
157+ appIcon
158+ }
159+ VStack ( alignment: align) {
160+ Text ( " What's New in " ) . bold ( ) . font ( . largeTitle)
161+ Text ( " Version \( Bundle . versionBuild) " ) . bold ( ) . font ( . title) . foregroundColor ( . secondary)
171162 }
172163 }
173164 }
You can’t perform that action at this time.
0 commit comments