summaryrefslogtreecommitdiff
path: root/DomainDig/DomainDigApp.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-22 01:20:47 -0500
committerChristian Cleberg <[email protected]>2026-04-22 01:20:47 -0500
commit36ea668d7fc9070770973b0bc329f4319bf43cab (patch)
tree04525d5420c0df84c918b27f8ac059cf14b92fa9 /DomainDig/DomainDigApp.swift
parent3846dc2f5dee69fc4ffbc052009a60e17d60e36b (diff)
downloaddomain-dig-36ea668d7fc9070770973b0bc329f4319bf43cab.tar.gz
domain-dig-36ea668d7fc9070770973b0bc329f4319bf43cab.tar.bz2
domain-dig-36ea668d7fc9070770973b0bc329f4319bf43cab.zip
feat(v2​.6​.0): refine ​UI, density, and usability
• add compact/comfortable density modes • implement collapsible sections and sticky summary header • improve visual status indicators and copy actions • refine watchlist and history UX with swipe actions • reorganize settings and improve empty states • add subtle animations and accessibility improvements
Diffstat (limited to 'DomainDig/DomainDigApp.swift')
-rw-r--r--DomainDig/DomainDigApp.swift3
1 files changed, 3 insertions, 0 deletions
diff --git a/DomainDig/DomainDigApp.swift b/DomainDig/DomainDigApp.swift
index a34eb12..29e0117 100644
--- a/DomainDig/DomainDigApp.swift
+++ b/DomainDig/DomainDigApp.swift
@@ -9,6 +9,8 @@ import SwiftUI
@main
struct DomainDigApp: App {
+ @AppStorage(AppDensity.userDefaultsKey) private var density = AppDensity.compact.rawValue
+
init() {
LocalNotificationService.shared.configureForegroundPresentation()
}
@@ -16,6 +18,7 @@ struct DomainDigApp: App {
var body: some Scene {
WindowGroup {
ContentView()
+ .environment(\.appDensity, AppDensity(rawValue: density) ?? .compact)
}
}
}