feat(polish): allow mood emoji on custom styles and ship Flow/ASR fixes
Custom polish styles can opt in to emotion-matched emoji (default off), with prompt-level opt-in detection so paste-only styles keep model-added emoji. Also include Volcengine API-Key ASR auth, voice-processing capture, PiP flash fix, and related keyboard Shift/haptics reliability work.
This commit is contained in:
@@ -95,6 +95,8 @@ struct TypingRootView: View {
|
||||
if !hasContent { candidatePanelMounted = false }
|
||||
}
|
||||
.onAppear {
|
||||
// Primary warm-up lives in KVC.viewWillAppear (covers app switch).
|
||||
// Keep this for first mount / surface flip into typing.
|
||||
KeyboardHapticFeedback.prepare()
|
||||
}
|
||||
}
|
||||
@@ -489,8 +491,12 @@ struct TypingRootView: View {
|
||||
if !output.text.isEmpty {
|
||||
onInsert(output.text)
|
||||
}
|
||||
// Proxy context is up to date after inserts/deletes — refresh Shift.
|
||||
typing.syncAutocapitalization()
|
||||
// Notes / some hosts lag `documentContextBeforeInput` — pass the edit we
|
||||
// just applied so sentence Shift can arm after Return / "." immediately.
|
||||
typing.syncAutocapitalization(
|
||||
accountingForInsert: output.text,
|
||||
deleteCount: output.deleteCount
|
||||
)
|
||||
}
|
||||
|
||||
private func keyWeight(label: String, index: Int, rowIndex: Int) -> CGFloat {
|
||||
|
||||
Reference in New Issue
Block a user