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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user