Display language selector if realistic voices are enabled

This commit is contained in:
Jackson Harper
2023-02-21 16:40:37 +08:00
parent ce04baedee
commit 49d9a1d3a8

View File

@ -47,6 +47,13 @@
}
if audioController.useUltraRealisticVoices {
if showLanguageChanger {
Section("Language") {
NavigationLink(destination: TextToSpeechLanguageView().navigationTitle("Language")) {
Text(audioController.currentVoiceLanguage.name)
}
}
}
ultraRealisticVoices
} else {
if showLanguageChanger {