diff --git a/Features/Backup/BackupView.swift b/Features/Backup/BackupView.swift index 22f453c..61c3762 100644 --- a/Features/Backup/BackupView.swift +++ b/Features/Backup/BackupView.swift @@ -872,26 +872,17 @@ struct BackupView: View { @ViewBuilder private var page1BelowContent: some View { - // Storage stats card + // Storage stats — plain inline, matches stats strip design HStack(spacing: 0) { storageStat(String(format: "%.0f GB", deviceUsedGB), label: "USED", color: Color(red: 1.0, green: 0.58, blue: 0.0)) - Rectangle() - .fill(AppTheme.separator.opacity(0.35)) - .frame(width: 0.5) - .padding(.vertical, 14) + statDivider storageStat(String(format: "%.0f GB", deviceFreeGB), label: "FREE", color: AppTheme.inkSecondary) - Rectangle() - .fill(AppTheme.separator.opacity(0.35)) - .frame(width: 0.5) - .padding(.vertical, 14) + statDivider storageStat(String(format: "%.1f GB", junkGB), label: "JUNK", color: AppTheme.positive) } - .frame(maxWidth: .infinity) - .background(AppTheme.surfaceSunken) - .clipShape(RoundedRectangle(cornerRadius: 18, style: .continuous)) .padding(.horizontal, AppTheme.hPad) .padding(.bottom, 18) @@ -996,18 +987,17 @@ struct BackupView: View { // MARK: — Storage helpers private func storageStat(_ value: String, label: String, color: Color) -> some View { - VStack(spacing: 6) { + VStack(spacing: 4) { Text(value) - .font(.system(size: 36, weight: .light)) + .font(.system(size: 30, weight: .light)) .foregroundStyle(color) .monospacedDigit() Text(label) - .font(.system(size: 10, weight: .regular, design: .monospaced)) + .font(.system(size: 10, weight: .regular)) .foregroundStyle(AppTheme.inkQuaternary) - .tracking(1.5) } .frame(maxWidth: .infinity) - .padding(.vertical, 22) + .padding(.vertical, 8) } private func storageLegend(color: Color, label: String) -> some View {