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/Lookup/LookupView.swift | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Hutch/Views/Lookup/LookupView.swift') diff --git a/Hutch/Views/Lookup/LookupView.swift b/Hutch/Views/Lookup/LookupView.swift index e53dd33..f45082d 100644 --- a/Hutch/Views/Lookup/LookupView.swift +++ b/Hutch/Views/Lookup/LookupView.swift @@ -356,6 +356,7 @@ struct LookupView: View { } } .pickerStyle(.menu) + .themedRow() TextField( vm.selectedType.inputLabel, @@ -368,6 +369,7 @@ struct LookupView: View { .onSubmit { Task { await vm.lookup() } } + .themedRow() } Section { @@ -382,6 +384,7 @@ struct LookupView: View { ProgressView() } } + .themedRow() } if !vm.history.isEmpty { @@ -403,11 +406,13 @@ struct LookupView: View { } .disabled(vm.isLooking) } + .themedRow() Button("Clear History", role: .destructive) { vm.clearHistory() } .disabled(vm.isLooking) + .themedRow() } } } -- cgit v1.2.3