fix(signing): remove Access Wi-Fi entitlement (unsupported on free teams)
- Drop com.apple.developer.networking.wifi-info from project.yml entitlements and NSLocationWhenInUseUsageDescription from Info.plist - SSID detection gracefully returns nil without the capability; all UI handles nil SSID already via optional chaining feat: branding, ring polish, sign-out UX, version/support - LoginView: replace title with "kisani." monospaced wordmark + UGREEN logo, show username then NAS display name after login - BackupView: "kisani." + UGREEN logo chip in toolbar; ring color is orange (in-progress), green (completed), destructive (failed), dim (idle) - BackupJob: cap progress at min(1.0, ...) to prevent >100% display - SettingsView sign-out dialog: two actions — "Sign Out" (lock only, keeps NAS) and "Sign Out & Forget NAS" (full clear); clearer message - SettingsView ACCOUNT section: App Version v1.0 + Support mailto rows - AppMenuView: About section with kisani. wordmark, version, support link Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ struct AppMenuView: View {
|
||||
if !errorEntries.isEmpty {
|
||||
errorsSection
|
||||
}
|
||||
aboutSection
|
||||
}
|
||||
.padding(.horizontal, AppTheme.hPad)
|
||||
.padding(.top, 8)
|
||||
@@ -248,6 +249,60 @@ struct AppMenuView: View {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: — About
|
||||
|
||||
private var aboutSection: some View {
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
menuSectionLabel("ABOUT")
|
||||
|
||||
VStack(spacing: 0) {
|
||||
HStack(spacing: 12) {
|
||||
Image("ugreen_logo")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(width: 28, height: 28)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 7, style: .continuous))
|
||||
Text("kisani.")
|
||||
.font(.system(size: 13, weight: .medium, design: .monospaced))
|
||||
.foregroundStyle(AppTheme.ink)
|
||||
.kerning(0.5)
|
||||
Spacer()
|
||||
Text("v1.0")
|
||||
.font(AppTheme.micro())
|
||||
.foregroundStyle(AppTheme.inkTertiary)
|
||||
}
|
||||
.padding(.horizontal, AppTheme.cardPad)
|
||||
.padding(.vertical, 14)
|
||||
|
||||
menuHairline
|
||||
|
||||
Link(destination: URL(string: "mailto:apps@provoc.ug")!) {
|
||||
HStack(spacing: 12) {
|
||||
Image(systemName: "envelope")
|
||||
.font(.system(size: 13, weight: .regular))
|
||||
.foregroundStyle(AppTheme.inkSecondary)
|
||||
.frame(width: 20)
|
||||
Text("Support")
|
||||
.font(AppTheme.body())
|
||||
.foregroundStyle(AppTheme.ink)
|
||||
Spacer()
|
||||
Text("apps@provoc.ug")
|
||||
.font(AppTheme.micro())
|
||||
.foregroundStyle(AppTheme.inkTertiary)
|
||||
Image(systemName: "arrow.up.right")
|
||||
.font(.system(size: 10, weight: .medium))
|
||||
.foregroundStyle(AppTheme.inkQuaternary)
|
||||
}
|
||||
.padding(.horizontal, AppTheme.cardPad)
|
||||
.padding(.vertical, 14)
|
||||
}
|
||||
}
|
||||
.background(AppTheme.surfaceRaised)
|
||||
.clipShape(RoundedRectangle(cornerRadius: AppTheme.radius, style: .continuous))
|
||||
.shadow(color: AppTheme.cardShadow, radius: 12, x: 0, y: 2)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: — Helpers
|
||||
|
||||
private func menuSectionLabel(_ text: String) -> some View {
|
||||
|
||||
Reference in New Issue
Block a user