summaryrefslogtreecommitdiff
path: root/Hutch/Views/More/MoreView.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-13 19:06:54 -0500
committerChristian Cleberg <[email protected]>2026-04-13 19:06:54 -0500
commita6ad2b9815d72575206bdca860eef9db850cdf1c (patch)
treeb4d5f27aa1655e5e40bab178550d6e2576d7df8b /Hutch/Views/More/MoreView.swift
parent02a44d115b3784231cad640e992d9c18a7f67b40 (diff)
downloadhutch-a6ad2b9815d72575206bdca860eef9db850cdf1c.tar.gz
hutch-a6ad2b9815d72575206bdca860eef9db850cdf1c.tar.bz2
hutch-a6ad2b9815d72575206bdca860eef9db850cdf1c.zip
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
Diffstat (limited to 'Hutch/Views/More/MoreView.swift')
-rw-r--r--Hutch/Views/More/MoreView.swift9
1 files changed, 9 insertions, 0 deletions
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: {