feat(app): add flow diagnostics and refine interface
CI / Validate manifests (push) Has been cancelled
CI / SwiftLint (push) Has been cancelled
CI / iOS / Extension (push) Has been cancelled
CI / macOS (push) Has been cancelled

Improve failure recovery visibility, strengthen account-session handling, and make the cross-platform interface more consistent.
This commit is contained in:
Rocky
2026-08-26 14:40:06 +08:00
parent 1ee032bdb9
commit 39002336c0
78 changed files with 2737 additions and 735 deletions
+7 -3
View File
@@ -173,7 +173,7 @@ struct MacDictionaryView: View {
}
.padding(.horizontal, Spacing.sm)
.frame(width: 220, height: MacMetrics.pageHeaderControlHeight)
.background(palette.surface, in: Capsule())
.background(palette.formSurface, in: Capsule())
.overlay(Capsule().stroke(palette.divider, lineWidth: 0.5))
}
@@ -289,9 +289,13 @@ private struct MacDictionaryEntryEditor: View {
Button(MacL10n.string("mac.cancel", language: language)) {
dismiss()
}
Button(MacL10n.string("mac.save", language: language), action: save)
.tint(palette.textPrimary)
Button(action: save) {
Text(MacL10n.string("mac.save", language: language))
.foregroundStyle(palette.background)
}
.buttonStyle(.borderedProminent)
.tint(palette.accent)
.tint(palette.textPrimary)
.disabled(trimmedTerm.isEmpty)
}
}