feat: add iOS support and harden receipt scanning

This commit is contained in:
Timo
2026-08-20 23:48:26 +02:00
parent f5e06c32b0
commit cf1b799e1b
107 changed files with 11755 additions and 122 deletions

View File

@@ -0,0 +1,23 @@
import SwiftUI
@main
struct ScanReceiptsApp: App {
@StateObject private var appState = AppState()
init() {
// App-wide tint: the Zenith Silver system uses pure black for every
// interactive/structural accent (see Design/ZenithColors.swift)
// there is no separate "brand blue" the way most iOS apps have one.
UITabBar.appearance().tintColor = UIColor(Color.zenithBlack)
UINavigationBar.appearance().tintColor = UIColor(Color.zenithBlack)
}
var body: some Scene {
WindowGroup {
RootView()
.environmentObject(appState)
.tint(.zenithBlack)
.task { await appState.bootstrap() }
}
}
}