Fix syntax

This commit is contained in:
Arkadiusz Fal
2024-02-02 11:38:01 +01:00
parent d5464186af
commit 371471ad81
4 changed files with 17 additions and 17 deletions

View File

@@ -73,7 +73,7 @@ struct ExportSettings: View {
Text(group.label)
Spacer()
Image(systemName: "checkmark")
.foregroundColor(.accent)
.foregroundColor(.accentColor)
.opacity(isGroupInSelectedGroups ? 1 : 0)
}
.animation(nil, value: isGroupInSelectedGroups)
@@ -122,7 +122,7 @@ struct ExportSettings: View {
Label(model.isExportInProgress ? "Export in progress..." : "Export...", systemImage: model.isExportInProgress ? "fireworks" : "square.and.arrow.up")
.animation(nil, value: model.isExportInProgress)
#if !os(macOS)
.foregroundColor(.accent)
.foregroundColor(.accentColor)
.frame(maxWidth: .infinity, alignment: .leading)
.contentShape(Rectangle())
#endif

View File

@@ -108,7 +108,7 @@ struct ImportSettingsSheetView: View {
Text(group.label)
Spacer()
Image(systemName: "checkmark")
.foregroundColor(.accent)
.foregroundColor(.accentColor)
.opacity(isChecked ? 1 : 0)
}
.contentShape(Rectangle())

View File

@@ -286,7 +286,7 @@ struct SettingsView: View {
.frame(maxWidth: .infinity, alignment: .leading)
.contentShape(Rectangle())
}
.foregroundColor(.accent)
.foregroundColor(.accentColor)
.buttonStyle(.plain)
NavigationLink(destination: LazyView(ExportSettings())) {