Task - Quick Action: Voice -> Mute

This commit is contained in:
madwasp79 2019-02-26 17:38:46 +02:00
parent 01786f23f5
commit b203b828a6
2 changed files with 3 additions and 3 deletions

View file

@ -2896,8 +2896,8 @@
<string name="quick_action_take_photo_note">New photo note</string>
<string name="quick_action_add_osm_bug">Add OSM Note</string>
<string name="quick_action_navigation_voice">Voice on/off</string>
<string name="quick_action_navigation_voice_off">Voice is off</string>
<string name="quick_action_navigation_voice_on">Voice is on</string>
<string name="quick_action_navigation_voice_off">Unmute Voice</string>
<string name="quick_action_navigation_voice_on">Mute Voice</string>
<string name="quick_action_add_gpx">Add GPX waypoint</string>
<string name="quick_action_add_parking">Add parking place</string>
<string name="quick_action_new_action">Add action</string>

View file

@ -53,6 +53,6 @@ public class NavVoiceAction extends QuickAction {
@Override
public boolean isActionWithSlash(OsmandApplication application) {
return application.getSettings().VOICE_MUTE.get();
return !application.getSettings().VOICE_MUTE.get();
}
}