From a6ad2b9815d72575206bdca860eef9db850cdf1c Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 13 Apr 2026 19:06:54 -0500 Subject: feat(theme): AMOLED true-black rows via themedRow() Apply listRowBackground(Color.black) per row in AMOLED mode using ThemedRowStyle and themedRow() across Lists and Forms. Use themedList() for scroll/grouped backgrounds. Treat segmented and clear list rows with isAMOLED-aware listRowBackground where Color.clear was required. Removes reliance on UIKit appearance for list cells on iOS 16+. Implements: https://todo.sr.ht/~ccleberg/hutch/24 --- Hutch/Views/Home/HomeView.swift | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Hutch/Views/Home/HomeView.swift') diff --git a/Hutch/Views/Home/HomeView.swift b/Hutch/Views/Home/HomeView.swift index 105b62b..b10926a 100644 --- a/Hutch/Views/Home/HomeView.swift +++ b/Hutch/Views/Home/HomeView.swift @@ -94,6 +94,7 @@ struct HomeView: View { ) } .buttonStyle(.plain) + .themedRow() } } } @@ -109,6 +110,7 @@ struct HomeView: View { emphasis: .action ) } + .themedRow() } } @@ -126,6 +128,7 @@ struct HomeView: View { .disabled(isOpeningRecentItem) .listRowSeparator(.hidden) } + .themedRow() } } } @@ -143,6 +146,7 @@ struct HomeView: View { emphasis: .monitoring ) } + .themedRow() } } @@ -156,6 +160,7 @@ struct HomeView: View { } label: { HomeCompactMessageRow(text: "Pin projects for quick access", systemImage: "pin") } + .themedRow() } else { LazyVGrid( columns: [ @@ -174,6 +179,7 @@ struct HomeView: View { } } .padding(.vertical, 2) + .themedRow() } } } -- cgit v1.2.3