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 { if isSavingFilter {
ProgressView() ProgressView()
} else { } else {
Text("action.done") Text("action.save").bold()
} }
} }
.disabled(!canSave) .disabled(!canSave)

View file

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