Bugfix: voice_announce_lap_power_key should not have been translatable.

For some localizations, users will experience that the setting got reverted.

Fixes #2359.
This commit is contained in:
Dennis Guse
2026-06-28 13:02:28 +02:00
parent 6ef80ade98
commit d1f003c0ce
22 changed files with 4 additions and 21 deletions
@@ -427,7 +427,7 @@ public class PreferencesUtils {
}
public static boolean shouldVoiceAnnounceLapPower() {
return getBoolean(R.string.voice_announce_lap_power_key, false);
return getBoolean(R.string.voice_announce_lap_power_key, getBoolean(R.bool.voice_announce_lap_power_default, false));
}
public static boolean shouldVoiceAnnounceHeartRateCurrent() {