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:
Robin Kutesa
2026-05-16 18:39:35 +03:00
parent 15f9da843c
commit 2e40aa5683
8 changed files with 150 additions and 49 deletions

View File

@@ -35,7 +35,7 @@ final class BackupJob: ObservableObject {
var progress: Double {
guard totalFiles > 0 else { return 0 }
return Double(uploadedFiles + skippedFiles + failedFiles) / Double(totalFiles)
return min(1.0, Double(uploadedFiles + skippedFiles + failedFiles) / Double(totalFiles))
}
var eta: TimeInterval? {