Fix foregroundStyle iOS 16 compatibility in BackupView

foregroundStyle(_:) on Text with a ShapeStyle requires iOS 17;
replace with foregroundColor for the two Text-concatenation nodes
in the refresh status row to stay compatible with the iOS 16 target.

Co-Authored-By: Kutesir <kutesir@provoc.ug>
Co-Authored-By: Sentry <sentry@provoc.ug>
This commit is contained in:
Robin Kutesa
2026-05-17 13:17:13 +03:00
parent 4a7ba9b332
commit 97dfb62dc7

View File

@@ -437,10 +437,10 @@ struct BackupView: View {
? .orange : AppTheme.inkQuaternary) ? .orange : AppTheme.inkQuaternary)
Text(checked, style: .relative) Text(checked, style: .relative)
.font(.system(size: 10, weight: .regular)) .font(.system(size: 10, weight: .regular))
.foregroundStyle(AppTheme.inkQuaternary) .foregroundColor(AppTheme.inkQuaternary)
+ Text(" ago") + Text(" ago")
.font(.system(size: 10, weight: .regular)) .font(.system(size: 10, weight: .regular))
.foregroundStyle(AppTheme.inkQuaternary) .foregroundColor(AppTheme.inkQuaternary)
} }
Spacer() Spacer()
Button { Button {