Make primary action bold: (#1021)

This commit is contained in:
Ico Davids 2023-02-22 22:12:10 +01:00 committed by GitHub
parent b927c680d7
commit e4b880dfe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -41,8 +41,10 @@ struct SettingsTabs: View {
.toolbar { .toolbar {
if UIDevice.current.userInterfaceIdiom == .phone { if UIDevice.current.userInterfaceIdiom == .phone {
ToolbarItem { ToolbarItem {
Button("action.done") { Button {
dismiss() dismiss()
} label: {
Text("action.done").bold()
} }
} }
} }

View file

@ -116,7 +116,7 @@ public struct EditAccountView: View {
if viewModel.isSaving { if viewModel.isSaving {
ProgressView() ProgressView()
} else { } else {
Text("action.save") Text("action.save").bold()
} }
} }
} }

View file

@ -60,7 +60,7 @@ public struct EditRelationshipNoteView: View {
if viewModel.isSaving { if viewModel.isSaving {
ProgressView() ProgressView()
} else { } else {
Text("action.save") Text("action.save").bold()
} }
} }
} }

View file

@ -118,7 +118,7 @@ public struct StatusEditorView: View {
if viewModel.isPosting { if viewModel.isPosting {
ProgressView() ProgressView()
} else { } else {
Text("status.action.post") Text("status.action.post").bold()
} }
} }
.disabled(!viewModel.canPost) .disabled(!viewModel.canPost)