commit a0006ccd5f8e7bf27d6baf9e7118421385749309 parent 63aae6b1960b9f1b0f82e34a0acbff672c318928 Author: Michael Camilleri <[email protected]> Date: Thu, 19 Feb 2026 14:33:39 +0900 Add explanatory text for fresh start on iOS Co-Authored-By: Codex GPT 5.3 <[email protected]> Diffstat:
| M | ListlessiOS/Views/TaskListView.swift | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/ListlessiOS/Views/TaskListView.swift b/ListlessiOS/Views/TaskListView.swift @@ -36,6 +36,7 @@ struct TaskListView: View { var vStackSpacing: CGFloat { 12 } var pullCreateThreshold: CGFloat { 70 } + var isCompletelyEmpty: Bool { activeTasks.isEmpty && completedTasks.isEmpty } init(store: TaskStore, syncMonitor: CloudKitSyncMonitor) { self.store = store @@ -188,6 +189,15 @@ struct TaskListView: View { .background { Color.outerBackground.ignoresSafeArea() } + .overlay { + if isCompletelyEmpty { + Text("Pull down to create") + .font(.subheadline) + .foregroundStyle(.secondary) + .padding(.top, 24) + .allowsHitTesting(false) + } + } .overlay(alignment: .bottom) { pullToClearIndicatorRow }