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/AddAccountView.swift | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Hutch/Views/More/AddAccountView.swift') diff --git a/Hutch/Views/More/AddAccountView.swift b/Hutch/Views/More/AddAccountView.swift index cfaa2b2..c15db09 100644 --- a/Hutch/Views/More/AddAccountView.swift +++ b/Hutch/Views/More/AddAccountView.swift @@ -15,6 +15,7 @@ struct AddAccountView: View { SecureField("Personal Access Token", text: $token) .autocorrectionDisabled() .textInputAutocapitalization(.never) + .themedRow() } footer: { Text("Generate a token at meta.sr.ht → OAuth2 clients.") } @@ -23,9 +24,11 @@ struct AddAccountView: View { Section { Text(errorMessage) .foregroundStyle(.red) + .themedRow() } } } + .themedList() .navigationTitle("Add Account") .navigationBarTitleDisplayMode(.inline) .toolbar { -- cgit v1.2.3