← All repositories

listless

A simple list app for Apple platforms

git clone https://code.inqk.net/listless.git


commit e48eb897fd7c7206325b232d69277a489c6d3143
parent 8639aac45f63910613008ad974f1440f542fdbd6
Author: Michael Camilleri <[email protected]>
Date:   Fri,  6 Mar 2026 15:39:26 +0900

Adjust spacing in About screen in iOS version

Diffstat

MListlessiOS/Views/AboutView.swift | 9+++++----

1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/ListlessiOS/Views/AboutView.swift b/ListlessiOS/Views/AboutView.swift

@@ -12,7 +12,7 @@ struct AboutView: View {
     var body: some View {
         List {
             Section {
-                VStack(spacing: 12) {
+                VStack(spacing: 8) {
                     Image("AboutIcon")
                         .resizable()
                         .scaledToFit()
@@ -26,7 +26,7 @@ struct AboutView: View {
                     Text("Version \(appVersion) (\(buildNumber))")
                         .font(.subheadline)
                         .foregroundStyle(.secondary)
-                        .padding(.bottom, 36)
+                        .padding(.bottom, 20)
 
                     VStack(spacing: 4) {
                         Text("Programming")
@@ -38,7 +38,7 @@ struct AboutView: View {
                             .font(.subheadline)
                             .foregroundStyle(.primary)
                     }
-                    .padding(.bottom, 16)
+                    .padding(.bottom, 8)
 
                     VStack(spacing: 4) {
                         Text("Direction")
@@ -52,7 +52,7 @@ struct AboutView: View {
                     }
                 }
                 .frame(maxWidth: .infinity)
-                .padding(.vertical, 12)
+                .padding(.bottom, 4)
                 .listRowBackground(Color.clear)
                 .listRowSeparator(.hidden)
             }
@@ -78,6 +78,7 @@ struct AboutView: View {
                 .listRowSeparator(.hidden)
             }
         }
+        .contentMargins(.top, 0, for: .scrollContent)
         .navigationTitle("About")
         .navigationBarTitleDisplayMode(.inline)
     }