forked from organicmaps/organicmaps
[ios] Added IsOnRoute() checking before tts playing.
This commit is contained in:
parent
df36ddffbe
commit
1516affa16
1 changed files with 3 additions and 2 deletions
|
@ -143,8 +143,9 @@ typedef NS_ENUM(NSUInteger, UserTouchesAction)
|
|||
|
||||
if (res.IsValid())
|
||||
[self.controlsManager setupRoutingDashboard:res];
|
||||
|
||||
[[MWMTextToSpeech tts] playTurnNotifications];
|
||||
|
||||
if (frm.IsOnRoute())
|
||||
[[MWMTextToSpeech tts] playTurnNotifications];
|
||||
}
|
||||
|
||||
- (void)onCompassUpdate:(location::CompassInfo const &)info
|
||||
|
|
Loading…
Add table
Reference in a new issue