[ios][tts] Do not crash in iOS 16 simulator if no voices are installed

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2022-10-11 12:46:55 +02:00 committed by Alexander Borsuk
parent b0f408c20b
commit c868ae5177

View file

@ -191,7 +191,7 @@ using Observers = NSHashTable<Observer>;
else
[MWMRouter setTurnNotificationsLocale:@(twineLang.c_str())];
} else {
LOG(LERROR,
LOG(LWARNING,
("The UI language and English are not available for TTS. MWMTextToSpeech is invalid."));
}
}