Align wording and documentation with project conventions
This commit is contained in:
@@ -269,6 +269,7 @@ private struct UsageCommandsForm: View {
|
||||
GridRow {
|
||||
Text(vendor)
|
||||
TextField("Built in", text: Binding(get: { draft?[keyPath: key] ?? "" }, set: { draft?[keyPath: key] = $0 }))
|
||||
.font(Fonts.font(13, mono: true))
|
||||
.modifier(FieldStyle())
|
||||
.onSubmit(save)
|
||||
}
|
||||
|
||||
@@ -251,7 +251,7 @@ private struct SavedCommands: View {
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
Text(c.name)
|
||||
Text(c.command)
|
||||
.font(Fonts.font(12))
|
||||
.font(Fonts.font(12, mono: true))
|
||||
.foregroundStyle(Palette.muted)
|
||||
.textSelection(.enabled)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
@@ -303,6 +303,7 @@ private struct SavedCommands: View {
|
||||
save(id, valid)
|
||||
}
|
||||
TextField("Command", text: $command)
|
||||
.font(Fonts.font(13, mono: true))
|
||||
.modifier(FieldStyle())
|
||||
.onSubmit {
|
||||
save(id, valid)
|
||||
|
||||
Reference in New Issue
Block a user