mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 18:03:06 +02:00
New field for recording layout: clock.
With this change fields can be: short, wide, clock short or clock wide. Fixes #1015.
This commit is contained in:
@@ -137,6 +137,9 @@ public class StatisticDataBuilder {
|
||||
valueAndUnit = StringUtils.getPowerParts(context, null);
|
||||
description = sensorUnknown;
|
||||
}
|
||||
} else if (fieldKey.equals(context.getString(R.string.stats_custom_layout_clock_key))) {
|
||||
title = context.getString(R.string.stats_clock);
|
||||
valueAndUnit = new Pair<>(null, null);
|
||||
}
|
||||
|
||||
if (valueAndUnit == null) {
|
||||
|
||||
Reference in New Issue
Block a user