forked from upstream-mirrors/OpenTracks
Time interval setting is in minutes.
This commit is contained in:
@@ -300,7 +300,7 @@ public class StringUtils {
|
|||||||
options[i] = context.getString(R.string.value_off);
|
options[i] = context.getString(R.string.value_off);
|
||||||
} else {
|
} else {
|
||||||
int value = Integer.parseInt(values[i]);
|
int value = Integer.parseInt(values[i]);
|
||||||
options[i] = context.getString(R.string.value_integer_minute, value);
|
options[i] = context.getString(R.string.value_integer_minute, Duration.ofSeconds(value).toMinutes());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return options;
|
return options;
|
||||||
|
|||||||
Reference in New Issue
Block a user