listless

A simple list app for Apple platforms
Log | Files | Refs | README | LICENSE

commit 06fd965ba2198990e057e31565bbc142174271c0
parent 30ff3e13e48384763e4b4e1d3ac5579ee0191c9c
Author: Michael Camilleri <[email protected]>
Date:   Fri,  6 Mar 2026 10:39:24 +0900

Rework layout of items in Settings in iOS version

Diffstat:
MListlessiOS/Extensions/TaskListView+NavigationHeader.swift | 3+++
MListlessiOS/Views/AboutView.swift | 38++++++++++++++++++++++++++++----------
MListlessiOS/Views/SettingsView.swift | 11+++++------
3 files changed, 36 insertions(+), 16 deletions(-)

diff --git a/ListlessiOS/Extensions/TaskListView+NavigationHeader.swift b/ListlessiOS/Extensions/TaskListView+NavigationHeader.swift @@ -6,6 +6,9 @@ extension TaskListView { Text(headingText) .font(.largeTitle) .fontWeight(.bold) + .onTapGesture(count: 4) { + showSyncDiagnostics() + } Spacer() if syncMonitor.hasDiagnosticsIssue { Button { diff --git a/ListlessiOS/Views/AboutView.swift b/ListlessiOS/Views/AboutView.swift @@ -26,15 +26,33 @@ struct AboutView: View { Text("Version \(appVersion) (\(buildNumber))") .font(.subheadline) .foregroundStyle(.secondary) - .padding(.bottom, 8) + .padding(.bottom, 36) - Text("Made in Tokyo by Michael Camilleri") - .font(.subheadline) - .foregroundStyle(.primary) + VStack(spacing: 4) { + Text("Programming") + .font(.caption) + .textCase(.uppercase) + .tracking(0.8) + .foregroundStyle(.secondary) + Text("Claude Code and OpenAI Codex") + .font(.subheadline) + .foregroundStyle(.primary) + } + .padding(.bottom, 16) + + VStack(spacing: 4) { + Text("Direction") + .font(.caption) + .textCase(.uppercase) + .tracking(0.8) + .foregroundStyle(.secondary) + Text("Michael Camilleri") + .font(.subheadline) + .foregroundStyle(.primary) + } } .frame(maxWidth: .infinity) .padding(.vertical, 12) - .padding(.bottom, 4) .listRowBackground(Color.clear) .listRowSeparator(.hidden) } @@ -49,13 +67,13 @@ struct AboutView: View { } Section { - VStack(alignment: .leading, spacing: 12) { - Text( - "Thank you to my wife, daughter and sons for their love and inspiration." - ) - } + Text( + "Thank you to my wife, daughter and sons for their love and inspiration." + ) .font(.subheadline) .foregroundStyle(.secondary) + .multilineTextAlignment(.center) + .frame(maxWidth: .infinity) .listRowBackground(Color.clear) .listRowSeparator(.hidden) } diff --git a/ListlessiOS/Views/SettingsView.swift b/ListlessiOS/Views/SettingsView.swift @@ -23,15 +23,14 @@ struct SettingsView: View { } Section { - NavigationLink("iCloud Diagnostics") { - SyncDiagnosticsView(syncMonitor: syncMonitor) - } - } - - Section { NavigationLink("About") { AboutView() } + } footer: { + Text("Made in Tokyo from natural ones and zeros") + .frame(maxWidth: .infinity) + .multilineTextAlignment(.center) + .padding(.top, 24) } } .navigationTitle("Settings")