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:
Rob Herremans
2025-09-16 20:13:15 +02:00
committed by Dennis Guse
parent 46cdae399d
commit f54856c3f1
16 changed files with 2 additions and 15 deletions
@@ -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() {