@@ -50,26 +50,25 @@ struct StoreCreationSuccessView: View {
5050 @State private var isPresentingWebview : Bool = false
5151
5252 var body : some View {
53- VStack ( alignment: . leading, spacing: 0 ) {
54- ScrollView {
55- VStack ( alignment: . center, spacing: 33 ) {
56- // Title label.
57- Text ( Localization . title)
58- . fontWeight ( . bold)
59- . titleStyle ( )
60-
61- // Readonly webview for the new site.
62- WebView ( isPresented: . constant( true ) , url: siteURL)
63- . frame ( height: 400 * scale)
64- . disabled ( true )
65- . border ( Color ( . systemBackground) , width: 8 )
66- . cornerRadius ( 8 )
67- . shadow ( color: Color ( . secondaryLabel) , radius: 26 )
68- . padding ( . horizontal, insets: Layout . webviewHorizontalPadding)
69- }
70- . padding ( Layout . contentPadding)
53+ ScrollView {
54+ VStack ( alignment: . center, spacing: 33 ) {
55+ // Title label.
56+ Text ( Localization . title)
57+ . fontWeight ( . bold)
58+ . titleStyle ( )
59+
60+ // Readonly webview for the new site.
61+ WebView ( isPresented: . constant( true ) , url: siteURL)
62+ . frame ( height: 400 * scale)
63+ . disabled ( true )
64+ . border ( Color ( . systemBackground) , width: 8 )
65+ . cornerRadius ( 8 )
66+ . shadow ( color: Color ( . secondaryLabel) , radius: 26 )
67+ . padding ( . horizontal, insets: Layout . webviewHorizontalPadding)
7168 }
72-
69+ . padding ( Layout . contentPadding)
70+ }
71+ . safeAreaInset ( edge: . bottom) {
7372 VStack ( spacing: 0 ) {
7473 Divider ( )
7574 . frame ( height: 1 )
@@ -90,6 +89,7 @@ struct StoreCreationSuccessView: View {
9089 }
9190 . padding ( insets: Layout . buttonContainerPadding)
9291 }
92+ . background ( Color ( . systemBackground) )
9393 }
9494 . safariSheet ( isPresented: $isPresentingWebview, url: siteURL)
9595 }
0 commit comments