Implemented the pre-installation of speech model assets for the selected locale for the ContentViewModel view model in the Sample app target.

This commit is contained in:
2026-07-04 15:41:53 +02:00
parent 0ca948272b
commit 7ec49264e6
2 changed files with 29 additions and 0 deletions
+3
View File
@@ -61,6 +61,9 @@ struct ContentView: View {
.task {
await model.load()
}
.task(id: model.locale) {
await model.preinstallAssets()
}
}
.sheet(item: $model.transcription) { transcription in
NavigationStack {