From 49d9a1d3a869533498e4f8a12d1563413efa3d36 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 21 Feb 2023 16:40:37 +0800 Subject: [PATCH] Display language selector if realistic voices are enabled --- .../App/Views/Profile/TextToSpeechVoiceSelectionView.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift b/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift index 54521a35d..52e7575bf 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Profile/TextToSpeechVoiceSelectionView.swift @@ -47,6 +47,13 @@ } if audioController.useUltraRealisticVoices { + if showLanguageChanger { + Section("Language") { + NavigationLink(destination: TextToSpeechLanguageView().navigationTitle("Language")) { + Text(audioController.currentVoiceLanguage.name) + } + } + } ultraRealisticVoices } else { if showLanguageChanger {