fix: improve model setup and native workflows

This commit is contained in:
public-repo-gate
2026-09-13 01:03:00 +03:00
parent 1cefe5b2ee
commit 30dae8b9a3
92 changed files with 13819 additions and 7022 deletions
@@ -31,6 +31,7 @@ struct FirstRunDictationField: NSViewRepresentable {
func makeNSView(context: Context) -> FirstRunFieldBox {
let textView = FirstRunTextView()
textView.placeholder = placeholder
textView.setAccessibilityLabel(placeholder)
textView.delegate = context.coordinator
textView.font = .systemFont(ofSize: 14)
textView.isEditable = true
@@ -56,6 +57,7 @@ struct FirstRunDictationField: NSViewRepresentable {
guard let textView = box.textView else { return }
if textView.string != text { textView.string = text }
textView.placeholder = placeholder
textView.setAccessibilityLabel(placeholder)
context.coordinator.onSubmit = onSubmit
// Курсор ставится в это поле и остаётся здесь: диктовка вставляет
// текст туда, где он мигает.