Make primary action bold: (#1151)

This commit is contained in:
Ico Davids 2023-03-03 20:10:20 +01:00 committed by GitHub
parent df4a76f9d1
commit 31744067e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -204,7 +204,7 @@ struct EditFilterView: View {
if isSavingFilter {
ProgressView()
} else {
Text("action.done")
Text("action.save").bold()
}
}
.disabled(!canSave)

View File

@ -99,8 +99,10 @@ public struct FiltersListView: View {
@ToolbarContentBuilder
private var toolbarContent: some ToolbarContent {
ToolbarItem(placement: .navigationBarTrailing) {
Button("action.done") {
Button {
dismiss()
} label: {
Text("action.done").bold()
}
}
}