@@ -60,7 +60,7 @@ struct PageView<Content: View, Link: View, Destination: View>: View {
6060 . navigationBarItems(
6161 trailing: Button ( action: { appState. isPresentingSettings = true } ) {
6262 Image ( systemName: " gearshape " ) . font ( . system( size: 16 , weight: . semibold) )
63- }
63+ } ,
6464 )
6565 }
6666}
@@ -72,15 +72,15 @@ extension PageView {
7272 color: Color ,
7373 @ViewBuilder content: ( ) -> Content ,
7474 @ViewBuilder link: ( ) -> Link ,
75- @ViewBuilder destination: ( ) -> Destination = { EmptyView ( ) }
75+ @ViewBuilder destination: ( ) -> Destination = { EmptyView ( ) } ,
7676 ) {
7777 self . init (
7878 number: number,
7979 title: title,
8080 color: color,
8181 content: content ( ) ,
8282 link: link ( ) ,
83- destination: destination ( )
83+ destination: destination ( ) ,
8484 )
8585 }
8686}
@@ -90,15 +90,15 @@ extension PageView where Link == EmptyView, Destination == EmptyView {
9090 number: Int ,
9191 title: String ,
9292 color: Color ,
93- @ViewBuilder content: ( ) -> Content
93+ @ViewBuilder content: ( ) -> Content ,
9494 ) -> some View {
9595 Self (
9696 number: number,
9797 title: title,
9898 color: color,
9999 content: content ( ) ,
100100 link: nil ,
101- destination: nil
101+ destination: nil ,
102102 )
103103 }
104104}
@@ -113,7 +113,7 @@ extension View {
113113 /// - Note: Useful only when you don't need to reuse the closure.
114114 /// If you do, turn the closure into a proper modifier.
115115 public func modifier< ModifiedContent: View > (
116- @ViewBuilder _ modifier: ( Self ) -> ModifiedContent
116+ @ViewBuilder _ modifier: ( Self ) -> ModifiedContent ,
117117 ) -> ModifiedContent {
118118 modifier ( self )
119119 }
0 commit comments