← All repositories

listless

A simple list app for Apple platforms

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


commit e498195b703211c77bd35a27ff133ec57fd4d7b5
parent 6f1fb1cae3cd553ae7ec97333cba58c78a4a4a59
Author: Michael Camilleri <[email protected]>
Date:   Fri,  6 Mar 2026 21:46:12 +0900

Improve display of iCloud errors

An iCloud account will be a requirement of Listless. This commit
improves the way that an error banner is displayed whne there are iCloud
issues.

Co-Authored-By: Claude 4.6 Opus <[email protected]>

Diffstat

MListless/Extensions/TaskListView+SyncUI.swift | 2+-
MListlessMac/Views/TaskListView.swift | 2+-
MListlessiOS/Views/TaskListView.swift | 2+-

3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Listless/Extensions/TaskListView+SyncUI.swift b/Listless/Extensions/TaskListView+SyncUI.swift

@@ -19,7 +19,7 @@ extension TaskListViewProtocol {
             }
             .padding(.horizontal, 12)
             .padding(.vertical, 8)
-            .background(.thinMaterial)
+            .background(.thickMaterial)
             .clipShape(RoundedRectangle(cornerRadius: 10, style: .continuous))
             .padding(.horizontal, 12)
             .padding(.top, 8)

diff --git a/ListlessMac/Views/TaskListView.swift b/ListlessMac/Views/TaskListView.swift

@@ -333,7 +333,7 @@ struct TaskListView: View, TaskListViewProtocol {
         .toolbar {
             platformToolbar
         }
-        .overlay(alignment: .top) {
+        .safeAreaInset(edge: .bottom) {
             syncErrorBanner
         }
     }

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

@@ -228,7 +228,7 @@ struct TaskListView: View, TaskListViewProtocol {
             .toolbar {
                 platformToolbar
             }
-            .overlay(alignment: .top) {
+            .safeAreaInset(edge: .bottom) {
                 syncErrorBanner
             }
             .overlay(alignment: .bottom) {