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/More/MoreView.swift | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Hutch/Views/More/MoreView.swift') diff --git a/Hutch/Views/More/MoreView.swift b/Hutch/Views/More/MoreView.swift index 8be25ca..4666e53 100644 --- a/Hutch/Views/More/MoreView.swift +++ b/Hutch/Views/More/MoreView.swift @@ -16,24 +16,29 @@ struct MoreView: View { NavigationLink(value: MoreRoute.lookup) { Label("Look Up", systemImage: "magnifyingglass") } + .themedRow() } Section("Other Services") { NavigationLink(value: MoreRoute.projects) { Label("Projects", systemImage: "square.stack.3d.up") } + .themedRow() NavigationLink(value: MoreRoute.lists) { Label("Mailing Lists", systemImage: "list.bullet.rectangle") } + .themedRow() NavigationLink(value: MoreRoute.manPageBrowser) { Label("Man Pages", systemImage: "book") } + .themedRow() NavigationLink(value: MoreRoute.pastes) { Label("Pastes", systemImage: "doc.on.clipboard") } + .themedRow() NavigationLink(value: MoreRoute.systemStatus) { SystemStatusSummaryRow( @@ -43,16 +48,19 @@ struct MoreView: View { isShowingStaleData: viewModel?.isShowingStaleSystemStatus ?? false ) } + .themedRow() } Section("Meta") { NavigationLink(value: MoreRoute.profile) { Label("Profile", systemImage: "person.text.rectangle") } + .themedRow() NavigationLink(value: MoreRoute.settings) { Label("Settings", systemImage: "gear") } + .themedRow() } Section { @@ -61,6 +69,7 @@ struct MoreView: View { Label(item.title, systemImage: "safari") } } + .themedRow() } header: { Text("External Links") } footer: { -- cgit v1.2.3