mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 01:53:05 +02:00
TrackStatistics startTime/stopTime is null on creation.
This commit is contained in:
@@ -112,7 +112,8 @@ public class TrackStatistics {
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
setStartTime(Instant.ofEpochMilli(0)); //TODO should probably initialized with null
|
||||
startTime = null;
|
||||
stopTime = null;
|
||||
|
||||
setTotalDistance(0);
|
||||
setTotalTime(Duration.ofSeconds(0));
|
||||
|
||||
Reference in New Issue
Block a user