We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c59bc4 commit cc526caCopy full SHA for cc526ca
1 file changed
Core/Sources/HostApp/CustomCommandView.swift
@@ -112,6 +112,22 @@ struct CustomCommandView: View {
112
.multilineTextAlignment(.center)
113
}
114
115
+ .safeAreaInset(edge: .bottom) {
116
+ Button(action: {
117
+ editingCommand = .init(isNew: true, command: CustomCommand(
118
+ commandId: UUID().uuidString,
119
+ name: "New Command",
120
+ feature: .chatWithSelection(
121
+ extraSystemPrompt: nil,
122
+ prompt: "Tell me about the code."
123
+ )
124
+ ))
125
+ }) {
126
+ Text(Image(systemName: "plus.circle.fill")) + Text(" New Command")
127
+ }
128
+ .buttonStyle(.plain)
129
+ .padding()
130
131
132
Divider()
133
0 commit comments