feat: add iOS support and harden receipt scanning
This commit is contained in:
13
app/ios/ScanReceipts/Design/ZenithDivider.swift
Normal file
13
app/ios/ScanReceipts/Design/ZenithDivider.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
import SwiftUI
|
||||
|
||||
/// A 1px rule in the system's one border color — `DESIGN (1).md` →
|
||||
/// Components → Lists: "Separated by 1px horizontal dividers in #E2E8F0."
|
||||
/// Prefer this over the bare `Divider()`, whose color/weight follow the
|
||||
/// system theme rather than this app's fixed palette.
|
||||
struct ZenithDivider: View {
|
||||
var body: some View {
|
||||
Rectangle()
|
||||
.fill(Color.zenithBorder)
|
||||
.frame(height: 1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user