forked from upstream-mirrors/OpenTracks
Fix for time and unit announcements (#2166)
Bugfix: time and unit announcement where not configurable correctly. Fixes #2165. Reviewed-on: https://codeberg.org/OpenTracksApp/OpenTracks/pulls/2166 Co-authored-by: Rob Herremans <dev@robherremans.nl> Co-committed-by: Rob Herremans <dev@robherremans.nl>
This commit is contained in:
committed by
Dennis Guse
parent
46cdae399d
commit
f54856c3f1
@@ -351,7 +351,7 @@ public class PreferencesUtils {
|
||||
}
|
||||
|
||||
public static boolean shouldVoiceAnnounceTime() {
|
||||
return getBoolean(R.string.voice_announce_unit_key, true);
|
||||
return getBoolean(R.string.voice_announce_time_key, true);
|
||||
}
|
||||
|
||||
public static boolean shouldVoiceAnnounceUnit() {
|
||||
|
||||
Reference in New Issue
Block a user