write with siri

This commit is contained in:
Ian Gulliver
2026-10-19 10:30:03 -07:00
parent aa7d756f42
commit bea023c83d
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -650,6 +650,7 @@ private struct LineCommentBox: View {
TextEditor(text: text)
.font(Fonts.font(12))
.scrollContentBackground(.hidden)
.writingToolsBehavior(.disabled)
.focused($focused)
.padding(.horizontal, 5)
.padding(.vertical, 4)
+1
View File
@@ -419,6 +419,7 @@ struct ComposerView: View {
TextEditor(text: $text)
.font(Fonts.font(13))
.scrollContentBackground(.hidden)
.writingToolsBehavior(.disabled)
.focused($focused)
.focusedValue(\.composer, ComposerTarget(paste: { pb in store.images.add(draftKey, pasteboard: pb, overlays) }))
.onKeyPress(.return, phases: .down) { press in
+1
View File
@@ -467,6 +467,7 @@ private struct TextEntry: View {
TextEditor(text: text)
.font(Fonts.font(13))
.scrollContentBackground(.hidden)
.writingToolsBehavior(.disabled)
.focused($editing)
.disabled(model.busy)
.focusedValue(\.composer, ComposerTarget(paste: { pb in store.images.add(key, pasteboard: pb, overlays) }))